Jump to content

Clicking an anchor link twice in a row?

Recommended Posts

Hi there!

So I am creating a smooth-scroll site using anchor links. Almost everything is working great but the only problem I have is that the anchor links don't work more than once without clicking another. For instance, I can click "Menu" on my fixed navigation and it will scroll to the menu on the page. However, if I scroll down a ways on the menu and want to get back to the top it, when I click it on the link in the navigation nothing happens. I can go from "Menu" to "Home" back to the "Menu", but the same anchor link won't work twice in a row. Any chance there is a solution for this, I've seen it on other websites but can't figure it out for the life of me. 

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.