How to Add Anchor Links in Squarespace (2025)

Wondering how to create a link that jumps to a section further down your page? This tutorial will show you how to add an anchor link, including how to utilise Squarespace’s new feature for sites on 7.1.

In this guide:

Two people's long shadows are cast on the sand of a beach on a mostly fine day.

⚓ What is the purpose of an anchor link?

An anchor link, aka jump link, directs users to a particular section of a page, acting like a bookmark or shortcut.

The purpose of an anchor link is to help visitors find internal information faster. It improves the user experience.

If you want your visitors to browse your website for longer, consider adding anchor links to sections that you think are of most interest to them. These special links can be added to your paragraphs, headings, buttons and/or navigation menus.

I regularly include a table of contents with anchor links near the top of my blog posts (see above ☝️). They’re especially useful when your page content is long or if your site has a lot of information, hello membership organisations and informational websites.

A one-page portfolio website is another example where anchor links can be crucial for navigation. In this scenario, anchor links may be added to the header navigation, so users can jump to explore the section they’re most interested in.

Here are a couple of example of what anchor link formats look like:

www.website.com/#about
www.website.com/blog/blog-post-title#tips

The anchor is the portion of these URLs that begins with a #.

How to “name” your anchor links

We “name” each anchor link so that it has a unique web address that we can point to. Follow these tips to choose your anchor name:

  • Anchor links on the same page must have a unique identifier/ID. But it’s fine to use the same anchor name on different pages.

  • IDs should be short; 1–2 relevant keywords is best.

  • Letters and numbers are allowed.

  • It cannot contain spaces. You can use a dash (-) between words instead to make it more readable, e.g. #self-tapes.

How to create an anchor link with Fluid Engine

In early 2025, Squarespace released a version 7.1 update that makes adding section anchor links much simpler than before!* Here’s how:

STEP 1. Create a section anchor link

  1. Hover over the section that you want to set an anchor for and click Edit Section.

  2. Scroll down to the Anchor link field.

  3. Type in the custom name/ID for your anchor after the # prefix. Squarespace takes care of the hashtag for you.

  4. Click Save in the top left corner of the editor.

STEP 2. Direct a link to the anchor

You now need to create a link that points to the anchor link—the other end of the telephone so to speak. Create a link as you normally would in Squarespace.

In the field where you enter the URL, type in a # followed by the anchor name.

E.g. #contact

Screenshot close-up of Squarespace edit toolbar for a Primary button with a link creation field with #contact entered.

An anchor link being added to a button in Squarespace

This format will work for pointing links that are on the same page as the section anchor link. You’ll have to use a different format if your anchor link and “source” link are on different pages of your website.

See below: How to add anchor links across pages or to navigation menus

Pro Tip: As this is an internal link, be sure to maintain the same logic as other internal links on your website. I.e. if all of your internal URLs load in the same tab, then toggle off Open link in new tab. Squarespace doesn’t toggle anchor links off automatically like it does with other internal links.

*This new feature will not interfere with any anchor links previously created with code blocks in Fluid Engine.

How to create anchor links for blog posts in Squarespace

Squarespace blog posts use the classic editor, so the process for creating an anchor identifier or ID (URL) is different to Fluid Engine. It’s a straightforward process, but requires adding a line of HTML. Here’s the code to copy and paste! See what I did there?

How I do this is by inserting a code block between each of the sections of my article. The added benefit is that these code blocks naturally add section spacing without me needing to add a spacer block as well.

STEP 1. Add a code block

Hover over where you wish to insert a code block. Click the blue plus icon that appears.

Select Code from the block options.

Snippet of Squarespace's blocks to choose from in the classic editor with Code highlighted.
 

STEP 2. Name the anchor link

Delete the sample code. Paste in the following HTML:

<a id='name-here'></a>

Replace the text inside the quotes with the name/ID of your anchor link.

Once done, exit out of the code block. Remember to also save your changes before exiting the editor.

Squarespace window for editing a Code block with <a id='name'></a> on line 1 in HTML mode.

STEP 3. Direct a link to the anchor

Finally, you need to create a link or button that points to the anchor link. Here’s how to add a link to copy/text:

  1. Highlight the copy you wish to link.

  2. Click the link button in the text toolbar or use the shortcut CMD + K (on Mac) or CTRL + K (on Windows).

  3. Toggle off Open link in new tab.

  4. Type # followed by the anchor ID.

  5. Press Enter on your keyboard.

How to add anchor links across pages or to navigation menus

The key to ensuring your anchor links work correctly across pages is to include the URL (slug) of the page it’s on before the #.

Let’s look at an example of how to correctly create a link in your Squarespace main navigation that directs to a section anchor link.

To create a link in your main navigation, click the + next to Main Navigation > select Link.

In this example, I’ve already named the anchor for my showreel section to #showreel, which is part of my homepage.

For the link that sends people here, I would type into the link field in Squarespace /home#showreel.

Otherwise, without the page URL, if I happened to be on the page www.website.com/contact when I click the link, it would point me to www.website.com/contact#showreel, which doesn’t exist.

Two pointers:

  • As this is an internal link, maintain the same logic as your other internal links. I.e. if all of your internal URLs load in the same tab, then toggle off Open link in new tab. I mention this because Squarespace doesn’t toggle anchor links off automatically as it does with other internal links.

  • We drop the domain (e.g. www.website.com) from the URL.

  • Always test your links work in preview mode!

So whenever you are linking to an anchor link in your navigation menus (header/footer) or across pages, don’t forget to include the page slug in front of your anchor name.

 
 
Tem Pua

Thanks for stopping by. I’m Tem—a film director, script supervisor, Squarespace web designer for film + theatre, and author of this post. If you’ve gotten something useful out of my content, I’m so glad!

Here are a couple of ways you can connect with me:

Explore more of the blog. If you’re a site owner in the worlds of film, TV and theatre, then my blog is for you—covering guides, tutorials, and inspiration specific to our area of creativity.

Get to know my services. I build websites and offer a day/half-day service if you need assistance with a smaller project. More of a DIYer? Browse our premium Squarespace templates for filmmakers.

Previous
Previous

The Best Free Squarespace Template for Filmmakers

Next
Next

Use Your Headshot to Fix this Common Website Mistake!