MikePintea Posted November 7, 2022 Share Posted November 7, 2022 (edited) After following this tutorial I was able to make it so that when you click on the items in the header, it scrolls down the page to each relevant section. However, I am having an issue with getting the services header link to work properly. https://onepagelove.com/squarespace-smooth-scroll In order for the header link to scroll to the correct position on the page, the code block has to be placed in the portfolio section. However, the portfolio section doesn't allow me to add any code blocks. For the time being, I added the code block to the services section itself. As you can see though, the anchor link takes you too far down on the page. Screenshot shows where code block is currently placed. Any workaround or solution would be greatly appreciated. Edited January 21 by MikePintea Added link, corrected phrasing Link to comment
Solution Ziggy Posted November 7, 2022 Solution Share Posted November 7, 2022 Can you share the site wide password? This can help with offsetting anchor links:https://www.will-myers.com/articles/perfect-anchor-links-in-squarespace Placing an anchor link on a portfolio section isn't always possible when you're using auto layout sections, but you can as a work around have a separate section for the title rather than use the content title. MikePintea 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
MikePintea Posted November 7, 2022 Author Share Posted November 7, 2022 15 minutes ago, Ziggy said: Can you share the site wide password? This can help with offsetting anchor links:https://www.will-myers.com/articles/perfect-anchor-links-in-squarespace Placing an anchor link on a portfolio section isn't always possible when you're using auto layout sections, but you can as a work around have a separate section for the title rather than use the content title. The anchor link offset was the solution! Thank you yet again for the fantastic help 🙌 Link to comment
Ziggy Posted November 7, 2022 Share Posted November 7, 2022 No problem! Glad you've got it working how you want it! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? 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