rwp Posted July 14, 2020 Share Posted July 14, 2020 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 IS FREE!!! 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. Thanks. CraigN and ShortAngryViking 2 Link to comment
AlexSantos Posted July 15, 2020 Share Posted July 15, 2020 Sent a PM, sounds exciting ! rwp 1 Link to comment
tuanphan Posted July 15, 2020 Share Posted July 15, 2020 Tested the code. Worked perfectly! ✌️ rwp 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Guest Posted August 13, 2020 Share Posted August 13, 2020 Hi! I been able to set up one anchor link on my main navigation page that works/scrolls fine, but I've had no luck using them on any other page... this sounds like it might be a solution! Do you mind sharing your code? Thanks for your help! Link to comment
rwp Posted August 13, 2020 Author Share Posted August 13, 2020 Link is in my signature. Just a heads up, it needs to be modified for a fixed header. Link to comment
Guest Posted August 13, 2020 Share Posted August 13, 2020 Awesome, thanks for the quick reply! I'm using a fixed header that shrinks when you scroll down the page. Do you know what modification I need to make? Link to comment
rwp Posted August 13, 2020 Author Share Posted August 13, 2020 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
Karinaepf Posted July 8, 2021 Share Posted July 8, 2021 @rwp Hi! Can you share the link with me? I would love to use this for my webpage. Thank you! Link to comment
toukaboi Posted August 22, 2021 Share Posted August 22, 2021 hello @rwp I'd love to try this code out too! Link to comment
ShortAngryViking Posted September 15, 2021 Share Posted September 15, 2021 Hi @rwp is this still available? sorry a bit slow to the party . AndreaDube 1 Link to comment
AndreaDube Posted September 24, 2021 Share Posted September 24, 2021 On 9/14/2021 at 11:54 PM, ShortAngryViking said: Hi @rwp is this still available? sorry a bit slow to the party . Saaaame Link to comment
jy15 Posted January 17, 2022 Share Posted January 17, 2022 Hello @rwp - is that code still available? Thanks, Link to comment
tuanphan Posted January 17, 2022 Share Posted January 17, 2022 1 hour ago, jy15 said: Hello @rwp - is that code still available? Thanks, He released & used to place in signature, not sure why he removed it. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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