Jump to content

Anchor Link jumps to two different places after click

Recommended Posts

I've created an anchor link for a button at the top of my page. 
The anchor is currently tied to the red line you'll see in the video (just there for visual for client).
The first time I click the button the red line/anchor lands about middle of screen. 
The second time I click the button the red line/anchor lands at the top of the screen as it should. 

See Loom video

I've tried all the usual adding padding to the anchor css things. Even still, the first button click lands the anchor at a different spot on the page than every other time the button is clicked. 

Thoughts?

Link to comment
  • Replies 1
  • Views 189
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.