Jump to content

Anchor link scrolling too far

Recommended Posts

  • Replies 3
  • Views 564
  • Created
  • Last Reply

Top Posters In This Topic

15 hours ago, KasperBed99 said:

Site URL: https://www.ditbaderum.dk/

Hi all,

I have added anchors from my main navigation to 4 different sections on my frontpage. It works perfectly, except that when clicking the anchor link, it scrolls too far so that it lands on the middle of the section instead of the top. Is this possible to fix?

Best regards,
Kasper

It looks like you figured out

 

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

It seems that you have removed my code so there is no effect underline anchor link when you scroll.

Can you apply it and we can take a look again?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.