Squarespace How to Link to Section

Most Squarespace users build long pages without realizing visitors have no way to jump to the section they actually want - and the result is a frustrating scroll that costs you engagement and conversions. Anchor links are one of the simplest navigation improvements you can make on a Squarespace site, yet most templates do not set them up by default.

Linking to a specific section on a Squarespace page lets visitors jump directly to the content they need without scrolling. This is especially valuable on long landing pages, one-page websites, and FAQ pages where users want fast access to a particular topic. Squarespace supports anchor links natively through section IDs, and once you understand how they work, you can add them to any page in under five minutes.

Squarespace How to Link to Section

Anchor links work by assigning a unique identifier to a page section, then creating a link that points to that identifier using a hash symbol. When a visitor clicks the link, the browser scrolls directly to that section. This works for same-page navigation, cross-page links, and even links from external sources like email campaigns or social media posts. Squarespace makes this easy with built-in section settings that let you set anchor slugs without writing any code. Use coupon code OKDIGITAL10 for 10% off any Squarespace plan if you are building a new site.

Squarespace How to Link to Section - a Squarespace user is thinking about Squarespace How to Link to Section

How Anchor Links Work in Squarespace

An anchor link consists of two parts: the anchor (a unique ID assigned to a section) and the link (a URL that includes a hash symbol followed by that ID). When you create a link like #services, the browser looks for a section on the current page with the ID "services" and scrolls to it. If you use a full URL like https://yoursite.com/page#services, the browser loads that page and then scrolls to the section.

Squarespace sections in version 7.1 each have a built-in field where you can set a custom URL slug. This slug becomes the anchor ID. In version 7.0, the process works similarly but the setting location differs slightly depending on your template. Both versions support the same hash-link navigation.

How to Link to a Section in Squarespace: Step by Step

Step 1: Add an Anchor Slug to the Target Section

Open the page editor and hover over the section you want to link to. Click the pencil icon or the section settings gear to open the section options. Look for a field labeled "URL Slug" or "Section ID" - this is where you enter your anchor name. Type a short, descriptive slug using lowercase letters and hyphens (for example, about-us, services, or contact). Click Save or Apply.

Choose slugs that are easy to remember and clearly describe the section content. Avoid spaces, special characters, or long strings. The slug you enter here is what you will reference in your links.

Step 2: Create the Link to That Section

Navigate to where you want to place the link - this could be a text block, a button, or a navigation menu item. Select the text or element, click the link icon in the toolbar, and enter the anchor reference. For a same-page link, type a hash symbol followed by the slug: #services. For a link from a different page, use the full URL: https://yoursite.com/page-name#services.

Click Apply to save the link. Preview the page and click the link to confirm it scrolls to the correct section.

Step 3: Add Anchor Links to Your Navigation Menu

You can also add anchor links to your main site navigation. Go to Pages in your Squarespace dashboard, click the plus icon to add a new navigation item, and select Link. In the URL field, enter the full anchor URL: /page-name#section-slug. Give it a display name and save. This is especially useful for one-page websites where the entire navigation should scroll to different sections rather than loading new pages.

Using Anchor Links on One-Page Squarespace Websites

One-page websites rely entirely on anchor links for navigation. Instead of separate pages, you build one long page with multiple sections, each with its own anchor slug. Your navigation menu links to each section using hash URLs. When a visitor clicks "Services" in the menu, the page scrolls smoothly to the services section.

To set this up, create all your sections on a single page, assign anchor slugs to each one, and build your navigation using link items that point to /#about, /#services, /#portfolio, and /#contact. The forward slash before the hash ensures the links work from any page on your site. For design strategies that work well with one-page layouts, our Squarespace design tips guide covers section layout and visual hierarchy.

Adding Smooth Scroll to Anchor Links in Squarespace

By default, clicking an anchor link in Squarespace causes the page to jump instantly to the target section. If you want a smooth scrolling animation instead, you can add a small CSS rule to your site. Go to Design > Custom CSS and add:

html { scroll-behavior: smooth; }

This single line enables smooth scrolling for all anchor links across your entire site. The animation is subtle and makes the navigation feel more polished. For more custom CSS techniques, our guide to adding custom CSS to Squarespace covers the full workflow.

Common Anchor Link Issues in Squarespace and How to Fix Them

Anchor Link Scrolls to the Wrong Position

If your anchor link scrolls slightly past or above the target section, the most common cause is a fixed navigation header that overlaps the section. The browser scrolls to the exact top of the section, but the fixed header covers part of it. To fix this, add a CSS offset using scroll-margin-top on your sections - a value of 80 to 100 pixels usually compensates for the header height.

Anchor Link Does Not Work at All

Check that the slug you entered in the section settings matches exactly what you typed in the link. Anchors are case-sensitive in some browsers - use lowercase consistently. Also confirm that the section actually has a slug assigned. If you are linking from a different page, make sure you are using the full URL path, not just the hash.

Anchor Link Works on Desktop but Not Mobile

Mobile browsers sometimes handle fixed headers differently, which can cause the same offset issue described above. Test your anchor links on an actual mobile device (not just the Squarespace mobile preview) to confirm they scroll to the right position. Adjust the scroll-margin-top value if needed. For broader mobile optimization, our Squarespace customization guide covers responsive design strategies.

Best Practices for Squarespace Anchor Links

Use descriptive slug names. Slugs like services, pricing, and testimonials are clear and easy to remember. Avoid generic names like section1 or block-a.

Keep slugs short and consistent. Use the same naming convention across your site - lowercase, hyphens between words, no special characters.

Test every anchor link after publishing. Preview mode does not always reflect how anchor links behave on the live site. Open the published page in an incognito window and click every anchor link to verify it scrolls correctly.

Add anchor links to your sitemap strategy. If you have a long page with important sections, anchor links give search engines additional context about your content structure. For more on how page structure affects SEO, our Squarespace SEO guide covers internal linking and content hierarchy.

Frequently Asked Questions

How do I link to a specific section on a Squarespace page?

Open the page editor, click on the target section's settings, and enter a URL slug in the anchor field (for example, services). Then create a link using a hash symbol followed by that slug - like #services for same-page links or /page-name#services for cross-page links.

Can I add anchor links to the Squarespace navigation menu?

Yes. Go to Pages in your dashboard, add a new Link item to your navigation, and enter the anchor URL in the format /page-name#section-slug. This works for both multi-page sites and one-page websites where the navigation scrolls to different sections.

Why does my Squarespace anchor link scroll to the wrong spot?

This is usually caused by a fixed navigation header that overlaps the target section. Add scroll-margin-top: 80px (or whatever your header height is) to your sections in Custom CSS to offset the scroll position and land below the header.

How do I add smooth scrolling to anchor links in Squarespace?

Add the CSS rule html { scroll-behavior: smooth; } to Design > Custom CSS. This enables a smooth scroll animation for all anchor links on your site instead of the default instant jump.

Do anchor links work on Squarespace 7.0 and 7.1?

Yes. Both Squarespace 7.0 and 7.1 support anchor links through section settings. The process is the same - assign a slug to the section and create a link using a hash reference. The setting location may differ slightly between versions.

Can I link to a section from a different page in Squarespace?

Yes. Use the full URL path followed by the hash and section slug - for example, https://yoursite.com/about#team. The browser will load the target page and then scroll to the specified section automatically.

What is the best anchor slug format for Squarespace?

Use lowercase letters and hyphens with no spaces or special characters. Keep slugs short and descriptive - about-us, pricing, faq, portfolio. This format is consistent, easy to type, and works reliably across all browsers.

Start Linking to Sections on Your Squarespace Site

Anchor links are one of the simplest improvements you can make to your Squarespace site's navigation. They let visitors jump directly to the content they want, reduce unnecessary scrolling, and make long pages feel organized and intentional. Whether you are building a one-page site or adding jump links to a detailed FAQ page, the setup takes just a few minutes.

Assign slugs to your key sections, create the links, add smooth scrolling if you want a polished feel, and test everything on desktop and mobile. Your visitors will notice the difference immediately.

Keep Reading

* Read the rest of the post and open up an offer
Top