Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS My fixed Navigation bar is getting lost behind a body element.

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #46219
    Josiahmann
    Participant

    I have created a fixed nav bar that is scrolling over the top of the first body section like I want, but the second body section (#About) is covering it up. I tried setting the z-index but that didn’t help. I’m probably missing something simple elsewhere in my code so I’d like any input:)

    Check out this Pen!

    #141954
    theacefes
    Member
    #141961
    Josiahmann
    Participant

    Haha! I knew it was something like that! Thanks theacesfes! Looks like the navigation bar div element needed to enclose both the other DIV body elements in order to scroll over the top of both. Thank you so much!

    #141974
    theacefes
    Member

    You’re welcome. :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.