Less vertical space between sub-menu items

Support Area Forums Grassroots Less vertical space between sub-menu items

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://lincolnucc.org/about-lincoln/
  • Author
    Posts
  • #38227
    Edward Garrett
    Participant

    Bill,
    Can you tell me how to remove the space between sub-menu items? I have tried with the inspector and looked through the knowledge base…Help, please.

    Thank you in advance…
    Ed Garrett

    #38228
    Bill Robbins
    Moderator

    Good Morning Ed,

    That is a lot of space there. I believe it is coming from this style in your child theme’s style.css file:

    
    nav#top-menu li a {
        padding-top: 5px;
        padding-right: 1px;
        font-weight: 600;
        margin-left: 15px;
        border: none;
        display: inline-block;
        font-size: 12px;
        margin-top: 27px;
    
    }
    
    
    

    That will add a 27px top margin to every link in the navigation menu, including the sub-menus. Most likely you’ll want to take out the top margin there. If you need to reposition the top level of the navigation menu, then add a margin directly to the nav#top-menu item. That way you can move the navigation around as a complete unit.

    Hope that helps out,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Less vertical space between sub-menu items’ is closed to new replies.