Forums

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

Home Forums CSS How can we create a sticky top navigation menu ?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40705

    I have a wordpress site and I want to make my top navigation menu a sticky one i.e when I scroll down I want that menu to just stay there. I would appreciate any help. Thanks.

    Jdbaba

    #113767
    Taufik Nurrohman
    Participant

    Use fixed position:

    #navigation {
    position:fixed;
    top:0;
    right:0;
    left:0;
    z-index:99;
    }
    #113826

    Thank you so much Hompimpa.

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