DEV Community

ccsunny
ccsunny

Posted on

How to add section link to Squarespace

To link to a specific section in Squarespace, you can follow these steps:

Image description

1 Identify the Section ID:

Each section in Squarespace has a unique ID. To find it, you can inspect the page using your browser's developer tools (right-click on the section and select "Inspect").
Look for a section with a class like #section-id in the HTML.

2 Create the Link:

Use the following format to create your link:
bash
Copy
https://yourwebsite.com#section-id
Replace yourwebsite.com with your actual domain and section-id with the ID you found.

3 Add the Link:

You can add this link to buttons, navigation menus, or text links in your Squarespace site.

4 Test the Link:

After saving your changes, click the link to ensure it scrolls to the correct section.

Top comments (0)