Magmorphius Posted March 12 Share 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? Link to comment
Magmorphius Posted March 12 Author Share 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 Bhavik 2 Link to comment
Solution WCS Posted March 12 Solution Share 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 we help? Click 👍 or mark it as the solution! This helps others find the answers they need. Meghan, Owner of Westerly Creative Studio 🐋 We're a Bay Area creative force specializing in Squarespace & Branding Solutions ☕️ Donations to our coffee fund help fuel our support 👩💻 Need to buy your website policies? Termageddon makes it easy. ✨ Get 10% off your first year! (< affiliate link) Link to comment
WCS Posted March 14 Share 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 we help? Click 👍 or mark it as the solution! This helps others find the answers they need. Meghan, Owner of Westerly Creative Studio 🐋 We're a Bay Area creative force specializing in Squarespace & Branding Solutions ☕️ Donations to our coffee fund help fuel our support 👩💻 Need to buy your website policies? Termageddon makes it easy. ✨ Get 10% off your first year! (< affiliate link) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment