Alexander15 Posted June 1, 2023 Share Posted June 1, 2023 Hi there, how do I get my website to stop refreshing at the top of the page when I click my anchor links on other pages than the homepage? I have other anchor links on other pages that link back to a specific section on the homepage, but when clicked, you are then placed at the top of the website for a second, then go to the desired section. Link to comment
tuanphan Posted June 3, 2023 Share Posted June 3, 2023 Hi, What is site url? We can check easier 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
Alexander15 Posted June 5, 2023 Author Share Posted June 5, 2023 The url is https://www.ministryofdetail.ca/ Link to comment
JayVanDyke Posted June 5, 2023 Share Posted June 5, 2023 try getting rid of /home, maybe try it with just the "/#anchor" that way you can still navigate there from other pages if you need to but it should not cause a reload. It's happening on the first anchor you click because when you get to your site you're at https://www.ministryofdetail.ca but the anchor goes to https://www.ministryofdetail.ca/home#anchorname ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs 🛠️ Web Designer's Toolkit **some of these contain affiliate links Link to comment
Alexander15 Posted June 5, 2023 Author Share Posted June 5, 2023 Hi there, I got rid of the home part but it still refreshes at the top of the page. Link to comment
Alexander15 Posted June 5, 2023 Author Share Posted June 5, 2023 Ideally it would look something like this https://neetcode.io/ Where when I go to another page, and back to the home, it stays right where I was Link to comment
JayVanDyke Posted June 5, 2023 Share Posted June 5, 2023 The links still look like this to me "/home#who" ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs 🛠️ Web Designer's Toolkit **some of these contain affiliate links Link to comment
Alexander15 Posted June 5, 2023 Author Share Posted June 5, 2023 Is there another place I can go to edit it? Using the squarespace editor it shows me /#where Link to comment
JayVanDyke Posted June 5, 2023 Share Posted June 5, 2023 Maybe it hadn't refreshed when I checked. It seems to work right now. Only major difference on my end is that it scrolls instead of just changing. ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs 🛠️ Web Designer's Toolkit **some of these contain affiliate links 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