mariagorn Posted August 27 Share Posted August 27 I wanted to create a scrolling landing page effect on the home page: when you click “nav” it scrolls to the specific section. For that, I created custom IDs for each section, then connected nav to those section code blocks. Issues: It works great on Chrome but on Safari & mobile when I click on nav it jumps below the section, not at the beginning. See here: https://spacewalkwithus.squarespace.com Inspo website: https://www.spacewalkwithus.com/ (the one I am transferring to Squarespace) Password:1111 How to make it this way: you click on the nav link at it jumps to the beginning of the section. Really appreciate your help! Thank you in advance Link to comment
tuanphan Posted August 28 Share Posted August 28 Try using div tag with ID instead of a tag with name so your code is <a name="home"></a> you can change it to <div id="home"></div> 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