×
Menu
Index

Scroll elements to the top and pin them there

 
This tutorial will show how to scroll an element to the top of the page and pin them there (Add to the sticky header). We will use a navigation bar in the Sample Template (A website created in the Getting Started Tutorial) as an example. The navigation bar is not at the top. We will add it to the sticky header. It will be scrolled with the page until it reaches the top. The effect needs Javascript. If you visitors disable Javascript, the navigation bar will be scrolled as usual.
 
 Only text elements, image elements and navigation bars are supported.