Jump to content

Anchor links jump past associated code block

Go to solution Solved by melody495,

Recommended Posts

I've created anchor links to navigate to various sections within a page, they somewhat work but when clicked they jump to below the designated code block so the user finds themself in the middle of the section, not at the section head where I want them to land. This is in a trial site, is it a glitch that will resolve with publishing or does anyone have another solution?

Thanks!

Link to comment

Hi, please share your site url as it's hard to tell what the issue is otherwise. You can set up a password on unpublished sites. 

Without looking, it sounds like it's jumping to the anchor link which would position to to of the screen. But if there is a header,  to of the screen = behind the header. If that is the case, you'll need to set an offset from the top so that jumps to the section plus x amount down to go past the header. 

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Website Developer
e: melody@melodylee.tech


💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Website help <- send me your to-do list
 Did I help? I like coffee (Thank you)
🧰 See the tools I use (contain affiliate links)


 

Link to comment
  • Solution
5 hours ago, TiffanyD said:

@melody495 That's the solution I needed, thank you!

You're very welcome! Please do mark my post as the solution to help others find the answer easier 🙂

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Website Developer
e: melody@melodylee.tech


💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Website help <- send me your to-do list
 Did I help? I like coffee (Thank you)
🧰 See the tools I use (contain affiliate links)


 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.