Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

7.1 Anchor Links - FREE!!!!



I've been working hard on this, on and off for a few months.

I've had it working for a while, but it was never perfect.

Today I finally decided to try and wrap it up.

If you are interested, I will need you to send me a PM. I need to get a little more testing done to make its its 100%.

This is where I am at so far. If I am missing anything, let me know.

  • Allows for custom link text, so you will be able to see mysite.com/home#customtext, not a bunch of gibberish
  • Correct anchor position, right at the top of the section, not below the padding by adding an anchor in a code block
  • Correct location on a page refresh
  • Correct location on a redirect from a different page
  • Fast and efficient, the only hold up in the code is waiting for 7.1 to load


This isn't a plug in, to be honest I don't even know what a plug in looks like for squarespace.

This is code I wrote, that I use on my customers sites. Its been changed, evolved, modified, over the past 6 months, and anyone is welcome to use it.

Anyway, if anyone wants to test it out, and help me get to the final stage of this, let me know via PM.


Link to comment

10 answers to this question

Recommended Posts

  • 0

You will need to basically subtract the height of the header, factoring in the change of the smaller header, because that element doesn't exist until you scroll down.


Assuming squarespace didn't change any of that in the latest update.


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...