Magmorphius Posted March 12 Posted March 12 I'm trying to set a block ID or at least figure out what the default id is for my testimonials section on my homepage. However with the auto layout sections I am unable to add code blocks, has anyone found a way to anchor link to auto layout sections?
Magmorphius Posted March 12 Author Posted March 12 I just solved this issue using this chrome plugin. https://chromewebstore.google.com/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en it will show the unique ID for every block including auto layout sections as follows: section[data-section-id="this-text-is-the-id"] Then you make your anchor link like normal: /page/#this-text-is-the-id Johnny87632 and Widle 2
Solution WCS Posted March 12 Solution Posted March 12 @Magmorphius Glad you figured it out! You can also use code instead of targeting a specific section. If you find that the anchor link scrolls too close to the top of the testimonials, you can add code at the bottom of the section above to give a little buffer. <p id="this-text-is-the-id"></p> Magmorphius and Johnny87632 2 Did I help? Click 👍 or mark it as the solution! This helps others find the answers they need. Meghan | Westerly Creative Studio 🍪 Still need your website policies? Termageddon makes it easy. Get 10% off your first year! (< affiliate link)
WCS Posted March 14 Posted March 14 @Johnny87632 Squarespace actually has a helpful overview of anchor links: https://support.squarespace.com/hc/en-us/articles/207135178-Creating-anchor-links Hope this helps and happy designing! 😊 Did I help? Click 👍 or mark it as the solution! This helps others find the answers they need. Meghan | Westerly Creative Studio 🍪 Still need your website policies? Termageddon makes it easy. Get 10% off your first year! (< affiliate link)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment