Fixed Navbar Position NOT scrolling anymore?

Up until 2 days ago, my fixed navbar was working. Scrolled down the page now and it’s responding as it’s in absolute positioning. It appears to work in the designer, but not on the published site.

Any ideas on what is hindering it? It’s the Main Navigation symbol that’s acting up.

Thanks in advance!


Here is my site Read-Only: *https://preview.webflow.com/preview/foams?utm_medium=preview_link&utm_source=designer&utm_content=foams&preview=e90e56f7d97a52cd1f308e6b6ef315c4&mode=preview

Hi @n3tworth

Things working as expected in the designer but not on the published site can often point to custom code that having unexpected results.

Try removing the smoothscroll script in the Home page custom code section in the settings. I imagine this is taking over and is ignoring the fixed position of your nav.

// remove this
<script src="https://cjh.sfo2.cdn.digitaloceanspaces.com/Smooth-Scroll/luxy.js"></script>
1 Like

That was the issue! And what a bummer :frowning: I really wanted the smooth scroll effect. Any tips on how to achieve this without outside code?

Just try one thing…

If you put that script back on the page and move the Navigation symbol to the top of the page (so it’s outside of the smooth scroll element) and publish. That might work. In fact I’m 99% it will work, as the script is targeting everything inside of the Smooth Scroll wrapper :crossed_fingers: :see_no_evil: :smiley:

Image 2020-03-31 at 1.16.21 pm

1 Like

And we’re back! I must have moved the nav inside the wrapper when creating other pages to lessen how many times I copy/pasted. Makes total sense as to why it stopped working all of a sudden. THANKS IMMENSELY!!!

1 Like

You are so welcome! :smiley:
giphy (72)

1 Like

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