aksoma15 Posted April 5, 2021 Share Posted April 5, 2021 (edited) Site URL: http://clover-fennel-ea3x.squarespace.com Hi all, I need a bit of help with the anchor links set up. I set up an anchor link to go to a specific part on my website with a smooth scroll feature which works great. However when I press the back button on my browser, it goes back to the part of the webpage where the anchor link button is placed, instead of going back to the previous webpage (in the video I shared, I would want it to go back to the home page instead). How can I make it so that instead of scrolling back up to the button, it just returns to the previous page I was on? I attached a video showcasing my issue to make things easier and just want to let y'all know that I have almost 0 coding experience so please go easy on me haha. Thank you all in advance. website screen recording.mov Edited April 5, 2021 by aksoma15 Beyondspace 1 Link to comment
Beyondspace Posted April 7, 2021 Share Posted April 7, 2021 On 4/5/2021 at 11:53 AM, aksoma15 said: Site URL: http://clover-fennel-ea3x.squarespace.com Hi all, I need a bit of help with the anchor links set up. I set up an anchor link to go to a specific part on my website with a smooth scroll feature which works great. However when I press the back button on my browser, it goes back to the part of the webpage where the anchor link button is placed, instead of going back to the previous webpage (in the video I shared, I would want it to go back to the home page instead). How can I make it so that instead of scrolling back up to the button, it just returns to the previous page I was on? I attached a video showcasing my issue to make things easier and just want to let y'all know that I have almost 0 coding experience so please go easy on me haha. Thank you all in advance. website screen recording.mov 10.64 MB · 1 download Which code did you use for the anchor link Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
aksoma15 Posted April 9, 2021 Author Share Posted April 9, 2021 Hello, Here is my code setup for the anchor links. I set up a code block and set up the anchor command there and linked it to the button up on top. Thanks for taking a look! Link to comment
tuanphan Posted April 14, 2021 Share Posted April 14, 2021 Hi. What is site access password? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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