Jump to content

Horizontal scrolling on mobile website issue

Go to solution Solved by Chloe_SlowBeeStudio,

Recommended Posts

Hi there,

My client's website is acting strange on his phone (iPhone 13 Pro - version iOS 17.0.2) when using Safari.
On the homepage, instead of scrolling down, it scrolls to the side to a white background. I cannot find what the problem is since I do not see this bug from my phone (iPhone SE - version iOS 15.5) and neither does my partner who has a more recent iPhone. 

Any idea what the problem could be? 

TIA

 

Chloé Trieu
Slow Bee Studio
- Websites - Videos - Podcasts - 
For green entrepreneurs and creatives

Link to comment

Can you share the website URL, is this just happening on one page?

Edited by Ziggy

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

I can't replicate the exact issue, it loads with a bunch of white space and a horizontal scroll but that very quickly disappears. Do you have any code injection or coded elements on the homepage? 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Thank you for getting back to me! 

Here is the only code for the homepage: 

/* Display navigation titles on both sides of the logo */

.header-nav-item.header-nav-item--collection:nth-child(1) {
    position: absolute;
left : 20vw;
  z-index: 2;
}
.header-nav-item.header-nav-item--collection:nth-child(2) {
    position: absolute;
left : 30vw;
z-index: 2;
}

.header-nav-item.header-nav-item--collection:nth-child(3) {
    position: absolute;
    right: 30vw;
  z-index: 2;
}

.header-nav-item.header-nav-item--collection:nth-child(4) {
    position: absolute;
    right: 20vw;
  z-index: 2;
}
  .header-nav-item.header-nav-item--collection:nth-child(5) {
    position: absolute;
    right: 10vw;
    z-index: 2;
}

 

Chloé Trieu
Slow Bee Studio
- Websites - Videos - Podcasts - 
For green entrepreneurs and creatives

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.