CrazyCreach Posted November 9, 2023 Share Posted November 9, 2023 Hello! I have created a one page website and created a static navbar that has a smooth scroll feature when you press each option on the navbar. The call to action buttons on the website all link to the same page to the "Contact Us" section after clicked. Everything works well on Desktop, but when I use it on mobile the only one that doesn't work properly are the buttons that lead to the "Contact Us" section of the website. I have no idea why. The code for the different sections are all the same - just alternating the tags depending on the section. This is the code used for every section, and this one is specifically for the contact us page: <a name ="contact"></a> Just a note I put the code blocks for each section, one section above since it tends to overshoot the section when an anchored button is pressed (if theres a solution for this i'd love to hear it as well). My website is: www.bingingbrands.com if you would like to see the issue I am talking about. Look at desktop at mobile. Thanks so much! Link to comment
tuanphan Posted November 12, 2023 Share Posted November 12, 2023 Hi, Anchor link on mobile doesn't work or it doesn't scroll to correct position? 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
CrazyCreach Posted November 13, 2023 Author Share Posted November 13, 2023 Hey, @tuanphan it doesnt scroll to correct position. Link to comment
tuanphan Posted November 18, 2023 Share Posted November 18, 2023 On 11/14/2023 at 6:26 AM, CrazyCreach said: Hey, @tuanphan it doesnt scroll to correct position. You are using SS 7.1, so you can edit page > click mobile icon on top right > then adjust anchor link code block position on mobile 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