Jump to content

Anchor Link On One Page Website Works on Desktop but Not Mobile.

Recommended Posts



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
  • Replies 3
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.