• 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

Create Full-width Custom Header in Executive Pro

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 › General Discussion › Create Full-width Custom Header in Executive Pro

This topic is: not resolved

Tagged: Custom Header Support, executive pro, full width header, genesis sample theme

  • This topic has 6 replies, 2 voices, and was last updated 9 years, 5 months ago by susanta.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • January 27, 2016 at 1:39 am #177649
    susanta
    Participant

    I am trying to use a custom full-width header in Executive Pro theme, as suggested by StudioPress http://my.studiopress.com/tutorials/setup-custom-header/.

    My goal is to make it appear exactly as it appears when applied to a Genesis Sample Theme. (Screen Shot: http://bit.ly/1UpyxCB)

    Here's the code snippet I used in my functions.php file:

    /** Add support for custom header **/
    add_theme_support( 'genesis-custom-header', array( 'width' => 2000, 'height' => 200 ) );

    However, when the above code snippet is applied to Executive Pro theme, the result is NOT the same. For example: http://bit.ly/1SJoo5P

    Can you help me figure this out, please? Is there a code snippet that allows the header to mimic the same result that we can achieve in Genesis Sample Theme?

    Appreciate any help!

    PS: I have used this code before in Genesis Sample Them and it's working perfectly.

    http://www.thecontenteditors.com/
    January 27, 2016 at 7:59 pm #177706
    Christoph
    Member

    Hi,

    Executive Pro already declares support for a custom header around line 42 of the functions.php. Just change those values.

    Then open style.css. Around line 1043 you will find the following:

    .header-image .title-area, .header-image .site-title, .header-image .site-title a {
        float: left;
        margin: 0;
        max-width: 260px;
        min-height: 100px;
        padding: 0;
        width: 100%;
    }

    Adjust max-width and min-height to your values.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    January 27, 2016 at 9:11 pm #177708
    susanta
    Participant

    Thanks for your reply, Christoph! Actually I have already tried that but I wasn't able to create a full-width head banner like I did in case of Genesis Sample Theme.

    January 27, 2016 at 9:52 pm #177711
    Christoph
    Member

    Oh, you mean "screen-wide" and not the full-width of the container.

    Remove max-width from .site-container around line 487 of the style.css.
    You will have to add a max-width to the elements that you don't want to be "screen-wide".


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    January 28, 2016 at 11:44 am #177744
    susanta
    Participant

    Thanks for the help, Christoph! I removed the max width value from .site-container in css. However, for some strange reason, I am still able to see the value to be present there when I check it on Inspect Elements. When I delete the value using Inspect Elements, the head goes screen-wide but it's not happening when I delete it in the css. This is quite strange as I don't find the value to be present anywhere within the CSS file.

    January 28, 2016 at 12:10 pm #177747
    Christoph
    Member

    You are welcome.

    Clear any cache from Cloudflare, a Plugin (w3 total cache,...), your web host and in your browser.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    January 29, 2016 at 8:58 pm #177881
    susanta
    Participant

    Thanks a lot! It helped!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ 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

© 2025 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