• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Executive Theme Header Change Dimensions

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Executive Theme Header Change Dimensions

This topic is: not resolved

Tagged: Executive theme, header image

  • This topic has 10 replies, 3 voices, and was last updated 12 years, 12 months ago by Mark Scott.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • January 23, 2013 at 3:36 pm #14150
    colemanweb
    Member

    Hello,

    I'm trying to enlarge the area allowed for the header image.  Currently it is set to 1140 x 100.  I'd like to allow any height and not have it auto-crop.  Any help would be appreciated.

     

     

    January 23, 2013 at 3:46 pm #14157
    Brad Dalton
    Participant

    Change the height values in functions.php (Line 17) and style.css (Line 193).

    /** Add support for custom header */
    add_theme_support( 'genesis-custom-header', array(
    	'width' 	=> 1140,
    	'height' 	=> 100
    ) );
    
    #header {
    	margin: 0 auto;
    	min-height: 100px;
    	width: 100%;
    }
    

    Tutorials for StudioPress Themes.

    January 23, 2013 at 4:08 pm #14163
    colemanweb
    Member

    Thank you Brad, worked like a dream.  Is there any way to let it not crop?  If I have images that are too short, it blows them up and then crops.  Some are give or take 30 pixels either direction.

    January 23, 2013 at 4:37 pm #14171
    Brad Dalton
    Participant

    You might want to layer them on a background using a tool like Paint.net or GIMP if you don't use Photoshop.

    If they're the exact same size as your settings, they should be displayed as is.


    Tutorials for StudioPress Themes.

    April 17, 2013 at 5:16 am #35915
    Mark Scott
    Member

    Brad, I'm having the same problem.

    I have the settings in my CSS and functions.php, exactly as you've shown them. My header image is exactly 1140 X 100.  I can see it in the media library, but it won't display on the pages.

    If I use a smaller-sized image (all I really want is a logo 172 x 50) it gets blown up to an enormous size and I'm forced to crop it. What happended to the skip cropping option?

    Any help will be most appreciated.

    The site is http://www.innov8.net.au

    Header text is still showing, but a header image is set.

    April 17, 2013 at 5:43 am #35919
    Brad Dalton
    Participant

    I just layed a logo 172 x 50 on 1140 X 100 background using Paint.net and it worked perfectly.

    Use a white or transparent background.


    Tutorials for StudioPress Themes.

    April 17, 2013 at 5:59 am #35920
    Mark Scott
    Member

    Brad, thanks for the quick response!

    I am using a transparent background.

    Here is the image: http://web.innov8.net.au:8080/wp-content/uploads/2013/04/header-logo.png

    Oh, I just tried displaying it in a browser and I get an internal server error. It looks like this might be an IIS issue.

    April 17, 2013 at 3:36 pm #36009
    Brad Dalton
    Participant

    It should work. Check your settings under Appearance > Header and if the dimensions match your image, upload it.


    Tutorials for StudioPress Themes.

    April 17, 2013 at 4:16 pm #36014
    Mark Scott
    Member

    It's working now. It was a file permission error.

    Thanks for your time, Brad.

    April 17, 2013 at 4:46 pm #36019
    Brad Dalton
    Participant

    Good stuff. Who are you hosting with Mark?


    Tutorials for StudioPress Themes.

    April 17, 2013 at 6:22 pm #36033
    Mark Scott
    Member

    Paul, the website is a friend's. He self-hosts and is in the process of configuring a new build.

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble