• 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

Reduce gap between secondary navigation menu and header

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 › Reduce gap between secondary navigation menu and header

This topic is: resolved

Tagged: header, Metro Pro, Secondary Navigation menu

  • This topic has 7 replies, 2 voices, and was last updated 11 years, 10 months ago by AnitaC.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 21, 2014 at 6:11 am #120187
    nomad_jess
    Member

    Hi there,

    I am trying to reduce the gap between my secondary navigation menu and header image to increase the amount of content I have "above the fold". I have already cropped the image to eliminate unnecessary white space in the image itself. Not having much luck locating the necessary code to tweak this.

    Can anyone be of assistance?

    Many thanks in advance,

    Jess

    http://notesofnomads.com
    August 21, 2014 at 6:30 am #120189
    AnitaC
    Keymaster

    Look for this in your style sheet - change 32px to 0 (zero)

    .site-container {
        background-color: #fff;
        margin: 32px auto;
        max-width: 1140px;
        overflow: hidden;
        padding: 36px;
    }

    That will bring it up.


    Need help with customization or troubleshooting? Reach out to me.

    August 21, 2014 at 6:49 am #120195
    nomad_jess
    Member

    Hi Anita,

    Thanks so much! This has brought it up a little, but I'd still like to bring it up more.

    Is there some code related to the secondary navigation menu perhaps that is causing the additional padding?

    Many thanks in advance!

    August 21, 2014 at 6:53 am #120196
    AnitaC
    Keymaster

    The secondary navigation is as wide as it should be. In the code above, you can reduce the top padding. Maybe change the code to this:

    .site-container {
        background-color: #fff;
        margin: 0 auto;
        max-width: 1140px;
        overflow: hidden;
        padding: 10px 36px 36px;
    }

    Need help with customization or troubleshooting? Reach out to me.

    August 21, 2014 at 7:04 am #120197
    nomad_jess
    Member

    Thanks Anita! That worked a treat!

    May I inconvenience you with one other thing here? Or should I start a new thread?

    I'm wanting to reduce the gap between the header and primary navigation too. Could you please point me in the direction of the code that affects this?

    Thanks so much!

    August 21, 2014 at 7:11 am #120198
    AnitaC
    Keymaster

    You don't have much to work with there or it will become smooshed, but you can reduce the padding here:

    .site-inner {
        clear: both;
        padding-top: 36px;
    }

    Need help with customization or troubleshooting? Reach out to me.

    August 21, 2014 at 7:28 am #120200
    nomad_jess
    Member

    Hi Anita,

    Thanks so much! This helped but unfortunately didn't adjust it as much as I would have liked.

    In the end, I was able to get the result I wanted by changing this code:

    .site-title {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    line-height: 1;
    margin: 0 0 16px;
    text-transform: uppercase;

    to

    .site-title {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    line-height: 1;
    margin: 0 0 0px;
    text-transform: uppercase;
    }

    Thanks so much for all your wonderful help, Anita! Much appreciated!

    August 21, 2014 at 7:36 am #120203
    AnitaC
    Keymaster

    You're welcome. Please mark this resolved.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Reduce gap between secondary navigation menu and header’ is closed to new 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