brittanystatt Posted March 6, 2023 Share Posted March 6, 2023 Hi, I always use a piece of code to jump to a certain spot on a page in the navigation. For example, on this website, I have a link set up in navigation to go to "our team", which is just a section on the "our story" page. For some reason, the code is not working in this case. I've checked it over and over. Any thoughts? Code I use: link in navigation: *insert page URL*#section-title code snippet on page: <a name=“section-title"></a> Link to comment
Ziggy Posted March 6, 2023 Share Posted March 6, 2023 Looks almost correct, revision: Navigation-link: /page-url-slug/#section-title Code block: <span id=“section-title"></span> (Differences are the extra backslash in the link and "id" instead of "name" in the code snippet) Here's the guide for anchor links: https://support.squarespace.com/hc/en-us/articles/207135178-Creating-anchor-links 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) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
brittanystatt Posted March 8, 2023 Author Share Posted March 8, 2023 Thank you so much!! Ziggy 1 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