• 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

Genesis Framework – Spacing between primary navigation 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 › Genesis Framework – Spacing between primary navigation menu

This topic is: not resolved

Tagged: design, genesis, menu item, Spacing

  • This topic has 5 replies, 4 voices, and was last updated 9 years, 8 months ago by chillybin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • October 11, 2013 at 4:13 pm #66347
    vishalpai
    Member

    Hi there,
    I would appreciate your help with this problem which I can't seem to find a solution to despite hunting.
    I am using Genesis Framework - the base theme. I want the space between items on my primary navigation menu (i.e. the black menu) to be zero. Everytime someone hovers over a link it seems to have a little black gap between the two items!
    I've tried changing padding and margin settings within ".genesis-nav-menu .menu-item" and ".genesis-nav-menu" but nothing seems to take it away. I've enclosed an image to help you understand what I mean.
    Could someone help?
    Thank you,
    Vishal

    http://www.vishalpai.com
    October 14, 2013 at 9:22 am #66657
    pxforti
    Participant

    I don't see this on your site.


    writeNowDesign
    WordPress and Ecommerce Website Design

    October 15, 2013 at 5:24 am #66799
    vishalpai
    Member

    Hi,
    Thanks for the reply.
    Click on one of the primary navigation menu items "Elective" for example. Now move the cursor over an adjacent item e.g. "Basic Sciences" - this is the gap I am referring to. It still seems to be present when I'm viewing my web site on Safari.
    I can't figure out the code to get rid of this gap.
    Regards,
    Vishal

    October 15, 2013 at 6:16 am #66810
    pxforti
    Participant

    I don't see that gap you describe in Chrome, Firefox, or Safari.


    writeNowDesign
    WordPress and Ecommerce Website Design

    November 21, 2013 at 12:09 pm #74739
    who
    Member

    I had the exact same problem Vishal was talking about, with gaps between horizontal li menu items. Solved for me by changing this:

    .genesis-nav-menu .menu-item {
    display: inline-block;
    margin: 0;
    padding: 0;
    text-align: left;
    }

    to this:

    .genesis-nav-menu .menu-item {
    float:left;
    width:auto;
    display: inline-block;
    margin: 0;
    padding: 0;
    text-align: left;
    }

    Just in case anyone else runs into this issue. . .

    January 9, 2014 at 12:59 am #84133
    chillybin
    Member

    Thanks, i got mine working with the following (html5 sample theme)

    .genesis-nav-menu {
    	clear: both;
    	/*width: 100%;*/
    	float: right;
    }
    
    .genesis-nav-menu .menu-item {
    	float:left;
    	width:auto;
    	display: inline-block;
    	text-align: left;
    }

    We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign

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