[resolved] fix navbar to top (4 posts)

  1. sup3rhero
    Posted 1 year ago #

    I have managed to move the navbar to the top of the page, above the header image, but when I fix it with position: fixed it ends up behind the page content and also the background of the navbar disappears.

  2. stacyduval
    Contributor Day Volunteer
    Posted 1 year ago #

    Try using the z-index property on the navbar.

    The z index property specifies the stack order of the element.

    Cheers, Stacy

  3. sup3rhero
    Posted 1 year ago #

    Thank you, I will try that later! Any idea what could have happened to the background though? The navbar is dark grey, but when I fix it, the background won't stick.

  4. sup3rhero
    Posted 1 year ago #

    Thank you that worked! it even kept the background colour now, too :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.