Jump to content

Anchor Links?

Go to solution Solved by Ziggy,

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

Yes, very possible and reasonably easy to do, see this guide:
https://support.squarespace.com/hc/en-us/articles/207135178-Creating-anchor-links

The summary is to add a code block with a custom ID, coded a bit like this:

<span id="your-custom-id"></span>

and then anchor link to it with a text or button and enter this as the link:

#your-custom-id

You may also want to add this to your Custom CSS so that it scrolls to your anchor link rather than jumping to it:

html {
  scroll-behavior: smooth;
}

I hope that helps!

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

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.