Nondas Posted July 6, 2020 Share Posted July 6, 2020 Hi there community, Do you have any advice on how to make anchor links scroll gradually (slow scroll instead of instantaneous) to target page content? Thanks! Link to comment
rwp Posted July 6, 2020 Share Posted July 6, 2020 html { scroll-behavior: smooth; } Design -> CSS Inscape and tuanphan 2 Link to comment
Nondas Posted July 7, 2020 Author Share Posted July 7, 2020 (edited) thank you! I have tried it, but don't se a real difference in scrolling speed. Still goes to target very fast. Anything else I could potentially try out? Could it be because I'm using it on the homepage? Edited July 7, 2020 by Nondas Link to comment
rwp Posted July 7, 2020 Share Posted July 7, 2020 Is it scrolling at all? You can't adjust the speed with css. Can you post a link to your page? Link to comment
Nondas Posted July 7, 2020 Author Share Posted July 7, 2020 the page is not public yet, I'm afraid. It is scrolling, but not gradually. Link to comment
rwp Posted July 7, 2020 Share Posted July 7, 2020 With CSS, that is the only option. It can be customized more with javascript. Link to comment
Nondas Posted July 31, 2020 Author Share Posted July 31, 2020 Hi rwp — I finally made it work, thanks so much for the help! I was wondering whether you have any ideas of making the following final fix: when clicking on the anchor link the page goes to the target, but as the top bar follows the vertical scroll, it hides the section title. I have added some spacers to counter that, but it looks weird having space without content. Any remedies? Thanks again, N. Link to comment
rwp Posted July 31, 2020 Share Posted July 31, 2020 Do you have a business plan (or commerce plan) with squarespace? Is this 7.0 or 7.1? Link to comment
Nondas Posted July 31, 2020 Author Share Posted July 31, 2020 Hi rwp — I finally made it work, thanks so much for the help! I was wondering whether you have any ideas of making the following final fix: when clicking on the anchor link the page goes to the target, but as the top bar follows the vertical scroll, it hides the section title. I have added some spacers to counter that, but it looks weird having space without content. Any remedies? Thanks again, N. Link to comment
Nondas Posted July 31, 2020 Author Share Posted July 31, 2020 We have a Business plan, not sure what version it is... Link to comment
Nondas Posted July 31, 2020 Author Share Posted July 31, 2020 Could you take a look on our site and see if you can help out? We can compensate you. Link to comment
rwp Posted July 31, 2020 Share Posted July 31, 2020 (edited) I will check it out shortly. Send me a PM with the link. Edited July 31, 2020 by rwp 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