I’m trying to get a a back to top link scroll to the top of my site once a user hits the footer.
I’ve got an ID on my nav and the link pointing to it. It seems to work when I preview the site in webflow but once I publish, it stops working. Not sure if it’s a bug or if I’m doing something wrong.
Hey guys - thanks for the quick help. I have added the ID to the nav container and the anchor to the “back to top” link in the footer multiple times. Like I said, it works in the Webflow preview.
When going to the dashboard and then back to the designer the links are not there anymore. Pretty frustrating. All the other anchors on the page work fine.
Is there something about adding an ID to the nav that could be a problem?
I think I finally figured this out. I believe best practice is to link the section, not the nav. Hmm not sure, still feels a bit buggy even though it’s “working” Thanks everyone!