Navigation Padding

This topic contains 4 replies, has 3 voices, and was last updated by  Paolo 6 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #436809

    Jeff Adams
    Free User
    Post count: 1780

    I tried changing the padding around the navigation drop down using CSS. But, it was changing the navigation padding also. I only want to decrease the padding/height of the drop down.

    Right now (see attached) each item in the drop down menu has too much space above and below it. What can I do to only adjust that?

    The location switcher also has way too much padding at the top and bottom. And the location switcher side padding is too tight. Can someone help me fix this as well?

    I’m using supreme theme. VeganLinked.com.

    #436811

    Jeff Adams
    Free User
    Post count: 1780
    This reply has been marked as private.
    #436838

    Alex Rollin
    Moderator
    Post count: 27815

    This is the CSS from the theme.

    You can customize it how you like:

    
    
    
    .sd-common #primary-nav ul li a {
        min-height: 61px !important;
        line-height: 61px !important;
    }
    
    #436854

    Jeff Adams
    Free User
    Post count: 1780

    This is the same CSS I found/tried by inspecting the page. The problem is that it adjusts the entire navigation not “just” the drop down line height.

    See, when changing this CSS it moves the navigation menu items to close to the top and out of alignment with the logo. I like the navigation set at 61px. I want “only the drop down items” to have less space.

    The drop downs are too bulky and extend way too far down.

    #436950

    Paolo
    Site Admin
    Post count: 31211

    Correct css should be:

    
    
    .sd-common #primary-nav ul li ul li a {
    
        min-height: 41px !important;
        line-height: 41px !important;
    
    }
Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount