Manu_M Posted August 23, 2023 Share Posted August 23, 2023 Hi! I currently have a collection of images that I'd like to enhance by adding anchor links, which will be used to connect these images to specific accordions on the same webpage. By clicking on an image, I intend to have the user directed to a particular accordion section that corresponds to the content of the image. How can I implement this? Thank you in advance! Link to comment
Ziggy Posted August 23, 2023 Share Posted August 23, 2023 Anchor links are simple enough to add, you can follow this guide: https://squarefortytwo.com/squarespace-guides/adding-anchor-links-on-squarespace You can add the anchor id to an image in the image settings: tuanphan 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Manu_M Posted August 24, 2023 Author Share Posted August 24, 2023 Thank you for the reply! While I know how to add anchor links to images, I do now know how to connect them with the accordions I have placed on the same page. I need help with that particular step Link to comment
Ziggy Posted August 24, 2023 Share Posted August 24, 2023 Add a code block with the anchor in it, this is an example of the code: <span id="YOUR_UNIQUE_ANCHOR ID"></span> Make sure to match the text capitalisation, and only use an ID once. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Manu_M Posted September 7, 2023 Author Share Posted September 7, 2023 Could you please explain, step-by-step, how it's possible to click on an image and automatically scroll to an accordion (I added the accordion by clicking + Add block -> Accordion)? Link to comment
Solution Ziggy Posted September 7, 2023 Solution Share Posted September 7, 2023 You can't do that with the standard accordion as there's no way to add an anchor ID to an individual accordion section. If you built an HTML solution this could be possible. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Manu_M Posted September 9, 2023 Author Share Posted September 9, 2023 Got it! Thank you 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