MarianaGR Posted August 22, 2022 Share Posted August 22, 2022 Site URL: https://www.azulstudio.co.uk/ Hello! After enabling the anchor links in my homepage and their code blocks, I saw that the jump page goes where the code block is added. Even though I designed the space o be centered in the screen, it will push everything to the top. (please see images) How can I add some space in the codeblock so it looks like in the second picture? thank you! Mariana Link to comment
WillMyers Posted August 22, 2022 Share Posted August 22, 2022 Hey @MarianaGR, I just put together a tutorial on this. Check it out here: https://www.will-myers.com/articles/perfect-anchor-links-in-squarespace tuanphan 1 Hey there, my name is Will and I help Squarespace designers and developers with my plugins, tutorials, and my Code Curious Membership. I would be happy to answer any questions you have about Javascript, CSS, or the meaning of life - I'm an expert in 2 of these. Youtube | Website Link to comment
MarianaGR Posted August 24, 2022 Author Share Posted August 24, 2022 thank you! the tutorial was super helpful and it's now working. however, the "smooth scrolling" doesn't work for every section, do you know why that could be? thanks again! Link to comment
WillMyers Posted August 28, 2022 Share Posted August 28, 2022 On 8/24/2022 at 6:28 AM, MarianaGR said: thank you! the tutorial was super helpful and it's now working. however, the "smooth scrolling" doesn't work for every section, do you know why that could be? thanks again! I've noticed this in the backend due to the way to way URL's get addended to the URL, but smooth scrolling has always worked on the live site. Is smooth scrolling not working on your live site? Hey there, my name is Will and I help Squarespace designers and developers with my plugins, tutorials, and my Code Curious Membership. I would be happy to answer any questions you have about Javascript, CSS, or the meaning of life - I'm an expert in 2 of these. Youtube | Website Link to comment
MarianaGR Posted August 30, 2022 Author Share Posted August 30, 2022 no it's not working for every section, which is why I removed it as it wasn't consistent, but I will try again! thank you again! 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