This is working wonderfully, but I’m struggling to get webflow’s Nav links and other links (custom mobile menu & link blocks) to scroll to the sections even though they are identified correctly in the settings.
Has anybody encountered this before and know of a fix, or can help me out? I just need to finalise this while the client makes changes to the copy and then I’m good to go.
Hello @tombourne,
Yeah snap scroll doesn’t work in Webflow because Webflow adds some javascript code to add smooth scrolling to all the sites. You can disable that with the following code:
I tested the code in the browser and it works, but it doesn’t scroll to the sections it just goes to the top of each section. That might not be the behavior you are looking for, maybe you can try a javascript library like scrollifyJS, that will allow you to scroll to each section using an anchor link and snap scroll between sections. I hope this helps!