Jump to content

Custom code to adjust position of anchor link

Recommended Posts

Hey @MarianaGR, I just put together a tutorial on this. Check it out here:

https://www.will-myers.com/articles/perfect-anchor-links-in-squarespace

Hey there, my name is Will and I help Squarespace designers and developers with my plugins, tutorials, and my Code Curious Membership
  
I would be happy to answer any questions you have about Javascript, CSS, or the meaning of life  - I'm an expert in 2 of these. 

Youtube | Website

Link to comment
On 8/24/2022 at 6:28 AM, MarianaGR said:

thank you! the tutorial was super helpful  and it's now working.

however, the "smooth scrolling" doesn't work for every section, do you know why that could be?

thanks again!

I've noticed this in the backend due to the way to way URL's get addended to the URL, but smooth scrolling has always worked on the live site. Is smooth scrolling not working on your live site?

Hey there, my name is Will and I help Squarespace designers and developers with my plugins, tutorials, and my Code Curious Membership
  
I would be happy to answer any questions you have about Javascript, CSS, or the meaning of life  - I'm an expert in 2 of these. 

Youtube | Website

Link to comment

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.