[resolved] navigation bar - reduce height (4 posts)

  1. coolthailand
    Posted 1 year ago #

    i'd like to reduce the height of the navigation bar(s) by about 25%. can i have the code? thanks in advance.

  2. Alexander Agnarson
    Theme Author

    Posted 1 year ago #

    Try this:

    .nav > li > a { padding-top: 13px; padding-bottom: 13px; }
    .nav ul { top: 47px; }
    .toggle-search { top: -47px; padding-top: 12px; padding-bottom: 12px; }

    Edit: updated with missing values.

  3. coolthailand
    Posted 1 year ago #

    ^ that's great as far as it goes but the magnifying glass to the right is now out of synch. :)

  4. coolthailand
    Posted 1 year ago #

    ok, i have added a bit more code that's balanced things up.

    .nav > li > a { padding-top: 10px; padding-bottom: 10px; }
    .nav ul { top: 45px; }
    .toggle-search { top: -39px; padding-top: 8px; padding-bottom: 8px; }

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic