Flexible navigation problem


I have been using this website to create a navbar. What I want to achieve is a little bit different but I am struggling to make it work.

I am trying to create a navigation bar which is fixed to bottom of the page and while scrolling the content, it gradually goes up and after it reaches the top it is fixed there and when you continue to scroll further it stays fixed to the top.

What is the best solution to create such a navigation?

Thanks for your help.

Hey there,

nice to meet you! :wave:

To achieve this, you have to use JavaScript to read the current scroll position and adjust the position of the navbar accordingly.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.