[Resolved] Fixed Nav Bar

Home Forums Support Fixed Nav Bar

This topic contains 2 replies, has 2 voices, and was last updated by  Darragh Kenny 4 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4253

    Darragh Kenny

    Hi,
    I was wondering if there is a way to make the nav bar fixed so its scrolls with the content??
    Im using a child theme and added the css:
    .main-nav{
    position: fixed;
    width: 100%;
    top: 0;
    clear: both;
    }
    But this makes the navigation disappear completely. Is it possible to have it fixed??

    #4254

    Tom Lead Developer

    Try using .main-navigation instead of .main-nav.

    Let me know if that does the trick 🙂
    Tom

    #4276

    Darragh Kenny

    Perfect, thanks for the fast reply 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.