• 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

How do I add a white space between header and menu?

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 › How do I add a white space between header and menu?

This topic is: not resolved
  • This topic has 7 replies, 2 voices, and was last updated 13 years, 4 months ago by SoZo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • January 29, 2013 at 9:54 pm #16300
    rick4him
    Member

    I'd like to create a small gap in between the black header background and the menu area on this site. Any thoughts on how to do this?

     

    Thanks!

    January 29, 2013 at 10:07 pm #16305
    SoZo
    Member

    You could add a bottom margin to the #heade rule, e.g.

    #header {
    min-height: 87px;
    overflow: hidden;
    margin-bottom: 10px;
    }


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    January 29, 2013 at 10:09 pm #16306
    rick4him
    Member

    Thanks so much! (By the way, I sent you an email.) 🙂

     

    Also someone mentioned I should "

    "give the navigation div a top margin

    margin:10px 0 0 0;"

    Is this just a different way to do the same thing? Is one solution better than another?

     

    Thanks!

    January 29, 2013 at 10:10 pm #16307
    SoZo
    Member

    Ya, you'd end up with the same effect. Doesn't matter which way you go.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    January 29, 2013 at 10:11 pm #16308
    rick4him
    Member

    Cool, thanks!

     

    2 follow up questions: after I do that, how can I get a little more black box around my logo / serach box so the logo has a little room to breath...if that makes sense...

    and how can I correct my search box from getting cut off?

    January 29, 2013 at 10:29 pm #16310
    SoZo
    Member

    You'd need to edit the image that you are uploading and make your actual logo smaller on the canvas. Or increase the height of #header in the style sheet as well as the dimensions of the custom header function in functions.php and use increase the canvas of your image accordingly.

    // Add support for custom header
    add_theme_support( 'genesis-custom-header', array(
    	'flex-height'	=> true,
    	'height'		=> 87,
    	'width'			=> 1080
    ) );
    

    For the search field you could add a right margin to #header .search-form, e.g.

    #header .search-form {
    float: right;
    margin-top: 16px;
    margin-top: 1rem;
    width: 100%;
    margin-right: 16px;
    margin-right: 1rem;
    }


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    January 29, 2013 at 10:32 pm #16312
    rick4him
    Member

    Thanks! What about just adding some padding around the header?

    January 29, 2013 at 10:51 pm #16316
    SoZo
    Member

    You could add padding to #header but you'd need to decrease the width accordingly otherwise it throws the header out past the margin of the page elements and I can't see where they are setting the width. I'll have to play with this theme more. It's coded a lot differently than their past themes have been coded. And before you spend too much time messing with this theme we should come up with a design and I just sent you an email that should get us rolling.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 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