• 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

Extra Space in Nav Menu of Sample Theme

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 › Extra Space in Nav Menu of Sample Theme

This topic is: resolved

Tagged: nav menu, Sample Theme

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 8 months ago by Precisi.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 29, 2016 at 2:10 pm #177836
    Precisi
    Member

    I've been trying to figure this out for a couple of hours now and I'm a bit stumped. I added a hover color to the nav menu of the sample theme but it's inserted a 2 pixel or so margin between each menu item. I stripped out all of the CSS and can't find it anywhere in there, so I'm guessing this is somewhere in the PHP itself? Anyone have any ideas on how I can fix this? Ideally an override in the child theme would be best.

    If you look to the left of the menu options (products, news, blogs, etc) you'll see it in there to the left of the hover.

    Thank you!

    http://www.snowshoedesign.com/hm/
    January 30, 2016 at 7:47 am #177903
    Davinder Singh Kainth
    Member

    Try following code

    .nav-primary a {
        margin-left: -3px;
    }

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    February 2, 2016 at 10:18 pm #178219
    Precisi
    Member

    That worked, thanks! 🙂

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

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