Bootstrap Affix Example

Fixed (sticky) vertical sidenav on scroll

Scroll this page to see how the left navigation menu behaves with data-spy="affix".

The left menu sticks to the page when you have scrolled a specified amount of pixels.


Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling

Some text to enable scrolling