The Styled Square | Premium Squarespace Website Templates

View Original

How to create smooth scroll anchor links in Squarespace 7.0 & 7.1

PIN TO SAVE FOR LATER!

What are anchor links?

Anchor links are hyperlinks that allow visitors to jump from one location of a website page to another with a single click. Anchor links are a user-friendly way of navigating your visitors through text-heavy pages or to showcase your most important content. They create a seamless website user experience, all while giving your website an extra touch to attention to detail.

In this tutorial, we’ll walk through the quick and easy steps to add anchor links to a Squarespace 7.0 or 7.1.

ANCHOR LINK EXAMPLE — ARLIE TEMPLATE

Squarespace 7.1


1. In Edit Mode, go to the section you would like your visitors to navigate to via hyperlink

2. Click Edit Section in the top right corner of the section

3. Locate Anchor Link and add a unique anchor link label

4. Click Copy Link

5. Add a text block & anchor link title

6. Select text & add a link

7. Paste link

8. Save!

Add smooth scroll

  1. Go to Custom CSS (Website > Website Tools > Custom CSS)

  2. Copy and paste the CSS below

  3. Click “Save”

See this content in the original post

Squarespace 7.0


Step 1:

Create a anchor tag with a code block

  1. In Edit Mode, go to the section you would like your visitors to navigate to via hyperlink

  2. Add a Code Block at the top of the section

  3. Copy and paste the code below

  4. Rename “anchorlink” to your preference — ex. “about”

See this content in the original post

EXAMPLE

Step 2:

Add a hyperlink to the page

  1. Add a text block, button or image in desired location

  2. To set the destination of the anchor link, use a # followed by the word used to replace “anchorlink”

    EXAMPLE: #anchorlink or #about

  3. For text links: make sure to click “Apply”

HYPERLINK EXAMPLE

BUTTON EXAMPLE

BUTTON EXAMPLE

Step 3:

Add smooth scroll

  1. Go to Custom CSS (Website > Website Tools > Custom CSS)

  2. Copy and paste the CSS below

  3. Click “Save”

See this content in the original post

All set!

USE DISCOUNT CODE STYLEDSQUARE10 TO SAVE 10% OFF YOUR SQUARESPACE SUBSCRIPTION

* Disclaimer: This post contains affiliate links. We may earn a commission should you chose to sign up for Squarespace using our link. Affiliate links are a great way to show your support for our content with no additional cost to you!

More Squarespace tutorials

See this gallery in the original post