WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. coolthailand
    Member
    Posted 3 months 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
    Member
    Theme Author

    Posted 3 months 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
    Member
    Posted 3 months ago #

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

  4. coolthailand
    Member
    Posted 3 months 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; }

Reply

You must log in to post.

About this Theme

About this Topic