• Resolved danallenhouston

    (@danallenhouston)


    I hope this is an ok question here. How do you control the height of the main navigation bar at the top of the page? Link to site. Link to image of the home page design.

    I am working with a simple child theme of TwentyTwelve. I am trying to inspect elements with Firebug, to find where the styles are controlling the height of the main navigation bar, but I am stumped. I will keep looking, maybe will figure it out.

    Any suggestions, questions, etc would be extremely much appreciated. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Through line height on the anchor.
    Never add the “height” styles onto elements because it stops elements from scaling up when text is resized larger. If you must use “height”, use “min-height” instead.

    Thread Starter danallenhouston

    (@danallenhouston)

    Hi, thanks for the response.

    I am confused, because a few minutes ago, before you answered, this question was closed.

    Looking at the answer you provided now, will let you know how it works out. Thanks again.

    Thread Starter danallenhouston

    (@danallenhouston)

    That answer worked perfect, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS – Setting the Height of Main Navigation Bar’ is closed to new replies.