The addition of the anchor links in Squarespace largely improves user experience when site visitors view a page, as it provides smooth navigation within pages. Anchor links, also known as jump links, lead the user to a particular spot on a webpage, such that scrolling is reduced. Anchor links in Squarespace find their best use in long-form content such as FAQs, landing pages, and product descriptions. Here in this guide will be step-by-step instructions on adding anchor links in Squarespace so that your site is well-structured and user-friendly.
Anchor Links What Are They?
Anchor links in Squarespace are hyperlinks that, instead of taking a user to a new page, move them to a specific section of the current page. They are particularly useful for:
An article’s table of contents for long articles
Jumping to particular sections of a service or FAQ page.
So before making an anchor that jumps to a section of your choosing, identify the section you want users to jump to. This requires a unique identifier, which may be provided as part of the HTML code.
You will have to navigate to the Squarespace templates editor.
Then click on the section you want to anchor.
And then, enter into an “Edit” mode for this section.
Step 2: Create an Anchor ID
So, to make a section linkable, you would have to give it an ID. In Squarespace templates, you can do this by adding a little snippet of HTML code.
Method 1: Use the Code Block
Add a Code Block where the anchor is to be placed.
Use this HTML snippet:
<a id=”your-anchor-name”></a>
Replace your-anchor-name with a unique identifier such as the contact section.
Click “Save” to apply the changes.
Method 2: Use the Section ID
Click on the required section where you intend to link.
Go to the “Advanced” tab.
Type in a unique ID in the “Section ID” field (by way of example, about-section).
Step 3: Create The Anchor Link
Now that you have the section with ID, you can create a link that jumps directly there.
Highlight the text or button where you want the anchor link.
Click on the “Link” icon.
Rather than inserting a normal link here, input the format: #your-anchor-name. For example:
#contact-section
Click on “Apply” to save the link.
Step 4: Testing the Anchor link
Test it before publishing to ensure that the anchor link works properly:
Click on the Anchor links in Squarespace to verify that it jumps to the appropriate section.
Ensure smooth scrolling without any hitches.
Test it on desktop and mobile devices.
Further Tips for Best Practices with Anchor Links
1. Descriptive Anchor Names
Use meaningful names like #pricing-details or #faqs instead of using generic names like #section1 so that you keep your page organized and readable.
2. Ensure Smooth Scrolling
The scrolling effect built into Squarespace templates ensures that users move seamlessly. To make the transition even smoother if not already, CSS and JavaScript can be used.
3. Use Anchor Links in Navigation Menus
Anchor links can be added to the website’s navigation menu for direct access:
Open the site editor in Squarespace templates, and navigate to Pages.
Click on Navigation and create a new link.
Fill in the anchor link (example: #services) instead of the normal URL.
Save the menu item.
4. Use Anchor Links in Buttons
If you want to attach a button to a sub-page section, for example:
Click on the button you want to use.
In the link field, enter #your-anchor-id.
Done. Save the changes.
5. Use Anchor Links in Blogs or Articles
Create tables of content that link to sections in longer articles via anchor links.
At the top of the article, create a list of sections.
Link each item using anchor links to their appropriate section.
Ensure that the IDs’ values are set in corresponding sections.
6. Avoid Overusing Anchor Links
Improving navigation is the very function of anchor links. However, the overuse of anchors makes the website page look cluttered and confusing. Use anchors sparingly for optimum results.
Common Issues and Fixes
Anchor Link Not Working
Being unique and properly placed is when the anchor does not work.
This will verify the spelling of the anchor name.
Make sure there are no spaces in the ID (use – or _ instead).
The Autoscroll Page Jumps Suddenly
Smooth scrolling is what default Squarespace themes behavior ensures, though some may want to go further by adding CSS as follows:
Add this CSS in the “Design” > “Add custom CSS” section.
Anchor Link does not work on a Mobile Device
Some specific Squarespace themes may override anchor links on mobile.
Ensure JavaScript settings do not conflict with scrolling behavior.
How do you add links to your navigation in Squarespace?
The most classic thing helpful in organizing a website is adding submenu links. Squarespace themes allow you to set navigation points by linking to pages, external websites, or specific sections within a page. Here is what you have got to do:
1. Head to the Navigation Menu
Log in to your Squarespace site.
Under Home Menu, click Pages.
There are two sections under Pages:
Main Navigation (that is visible in the primary menu of the site)
Not Linked (that are not listed on the navigation yet these pages are accessible)
2. For Adding a Link to Navigation
For adding a link to your navigation, refer to the following instructions:
A. Link to an Existing Page
Go to Main Navigation below and hit the + icon.
Select Link.
Put in the name for that link (which will appear in the navigation).
Click in the Link field and select an option from the list:
Page – To link to an existing page on your Squarespace site.
External URL – To link to an outside place (please provide full URL e.g. https://example.com).
Email – To link to an email address.
Phone Number- To call a phone number link.
File – Downloadable file link (upload the file and copy its URL).
Hit Save to put in your link.
B. Link to a Section of your Page (Anchor Links)
To impose anchor links that refer to a section within the same page:
Edit the page you want to set an anchor in.
Insert a Code Block or Heading Block with an ID added to the following attribute:
html
Copy
Edit
<div id=”about-us”></div>
Copy the ID back into Pages > Navigation Menu > Add Link.
Type in the Link field: #about-us (change to reflect your accurate anchor ID).
Click Save.
C. Link to External Website
Hit + (Add Page) in Main Navigation.
Select Link.
Enter a title for the link.
In the Link field, input the full URL (e.g., https://www.google.com).
Click Save.
3. Organizing Navigation Links
Rearranging Links: Drag and drop menu items to reorder them.
Creating Dropdown Menus: Drag links under another page to have them nested as submenus.
Hide links: If you want links not to be displayed on the main navigation, move the pages to the Not Linked section.
4. Appearance and Customization
To customize the styles of navigation links:
Go to Design > Site Styles.
Adjust the colors, fonts, and hover effects of navigation links.
How do I add social links to Squarespace?
Appropriate inclusion of social media links on your Squarespace themes site would suffice to connect with your audience and keep drawing them in. To include social media links in your Squarespace program, one can either use Built-in social icons, navigation menus, or content blocks. Here is the step-by-step guide to help you out in this endeavor of adding the social links to your own Squarespace templates website.
METHOD 1: Using Built-in Social Links
In the social links settings, Squarespace themes offer built-in social media icons that directly link to your handles. Use the instructions below:
Step1: Open Social Links Settings
Login into your squarespace account.
You will find Settings in your Home menu.
Select Social Links.
Step 2: Add Social Account
Click Add a Social Link.
Type into the entire URL of your social media profile (example: https://www.facebook.com/yourpage).
Click Save.
Step 3: Change Social Icon Settings
Go to Design > Site Styles.
Locate the Social Icons settings.
Customize the icon size, color, and style to go along with your website’s theme.
Step 4: Show off your social media links
Your template will decide where your social icons automatically appear, such as in the Footer and Header, but they will also be individually added by using a Social Links Block (discussed below).
METHOD 2: Add social links in a Navigation Menu
If you want to include social links in your main menu, follow the steps below:
Step 1: Open Navigation Settings
Go to the Home menu and click on Pages.
Click Edit Navigation (on the left panel).
Step 2: Add a Link
Click on the + icon and generate another navigation item.
Click Link.
Enter name (example: Facebook).
Paste the complete URL of your social media page.
Click Save.
Repeat the same steps for all social media links.
METHOD 3: Use a Social Links Block
You can also add social links through Social Links Block for more freedom in this: within pages, blogs, and sections.
Step 1: Edit Page Go to Pages and locate the page where you want to place social links. Edit .
Step 2: Add a Social Links Block Open the content blocks menu by clicking the + button.
Search for Social Links. Drag the block to the desired area.
Step 3: Edit and Save Click Edit in the Social Links Block.
Enter the URL to your social media profiles.
Style and layout the icons to your liking.
Click Apply and Save.
Method 4: Add Social Links to the Footer
Most of the Squarespace templates offer social media icons most probably in the Footer.
Step 1: Edit Footer
Scroll down to your website Footer.
Click on Edit Footer.
Step 2: Add Social Links Block
Press the + button and select Social Links
Add your social media URLs.
Change the icon size and color to fit your design.
Step 3: Save Changes
Click Done > Save to apply your changes.
Bonus: Linking feeds from Social Media
Suppose you want to show real-time social media content (like fetching Instagram posts, etc.); then, you can use the built-in integrations of Squarespace.
Go to Settings > Social Links.
Link up your Instagram, Twitter, or Facebook.
Use the Social Feed Block to display posts on your site.
A floating sidebar menu that automatically generates anchor links.
A clickable table of contents for redirection to any part of the page.
In-built search functionality to help users find that perfect guide.
Smooth scrolling of anchor links using custom CSS styles.
User experience is enhanced with ease of jumping among sections and an aesthetic view of the content.
FAQs
Do anchor links work on mobile devices in Squarespace?
Yes, Anchor links in Squarespace are functional in both the desktop and mobile versions of a Squarespace site.
How do you create an anchor link in Squarespace?
Create an anchor link by adding an ID to a section or block and linking to it via a custom URL.
What is the format of an anchor link URL in Squarespace?
The format is #anchor-name, for example, #contact-section.
How do I add an anchor to a specific section in Squarespace 7.1?
Enter the section settings.
Click on Advanced.
Add an ID under Section ID, making sure it is unique (for example, contact section).
How do I link to an anchor in Squarespace using a button?
Edit the button block.
Set the link URL to #anchor-name.
Save the changes.
Can I add the anchor link to a navigation menu?
Yes, navigate to Pages > Navigation and add a new link with #anchor-name.
Using Anchor links in Squarespace in Content
How do I add an anchor link within a text block?
Highlight the text, click the Link button, and type in the # anchor name as the URL.
Are anchor links possible for images in Squarespace?
Yes, you can define the URL of the image link as #anchor-name in the image settings.
How can I set up multiple anchor links on the same page?
Make sure you assign unique IDs to each section (for example #about, #services, #contact) and link to them accordingly.
Does anchor link scrolling need to be smooth in Squarespace?
Squarespace does smooth scrolling by default, but it can be made smoother using CSS or custom JavaScript.
Why is my anchor link not functioning in Squarespace?
Make sure that the section ID is added properly, as well as matching with the link (e.g. #services-section).
Why does my anchor link scroll too far or not far enough?
Sticky headers can sometimes obscure part of the section. Use CSS to adjust the scroll offset.
Conclusion
Every great Anchor links in Squarespace for your site, helping it navigate better and improving the user experience. Following this tutorial, you can quickly add and modify anchor links for your content, whether it’s a landing page, FAQ section, or even a long-form blog post.