Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Fixed Nav Bar above content when scrolling help?

I'm making a blog for my company. I want the nav bar to be above the content when a user scrolls down. the blogs at

http://vyxzinc.tumblr.com/

What is the code to keep the nav bar above content when a user scrolls down?

1 Answer

Relevance
  • 9 years ago
    Favorite Answer

    Hi,

    Try adding "position:fixed" to your CSS.

    I.e., #nav_bar_id{ position:fixed; }

    Regards,

    Gutchi

Still have questions? Get your answers by asking now.