Streaming live at 10am (PST)

Horizontal Scrolling on Mobil


#1

Hello all!
I know this issue has come up in the forums quite a few times but none of the solutions have helped me.
My problem is that when viewing on mobile, the site allows users to scroll horizontal, making it difficult to scroll straight down. In past threads the solution was to make sure all large sections were set to Overflow: Hidden. I tried this, I even went to the extent of wrapping everything in a div and making it overflow:hidden... and still no solution.

Here is the link to the site: https://preview.webflow.com/preview/trial-ssc?preview=3c417cfcfb31594df65d2ef91224ea9b

I am loving Webflow btw! Great product! I can't wait to upgrade my plan once my site is ready.
Thank you!


#2

Hello @Jon_Lehman!

I had the same issues with one of my sites. It is happen because some of your elements hidden over the screen view by interactions. Like this, for example:

Only way I could fix it - change interaction or clone element only for mobile view and create another kind of interaction, just for keep it inside the screen view.

But I didn't try to play with overflow settings. BTW, body's overflow on mobile view is still "visible". Try to make it "hidden" too. If it will not help - you still can try my "old method".

Good luck blush


#3

Hi @Jon_Lehman ! Thanks for the question, this is a common issue that is easily rectified. The best thing to do, is to open your site using your own read-only link, so you can make changes without affecting your site, to try to troubleshoot overflow problems.

The overflow is usually caused by some element on your site (or more than one) that has a fixed width set. I always recommend to use percentage based widths for layouts, so that elements never exceed 100% width from edge to edge.

To narrow down the cause the horizontal scroll on mobile, a good idea is to first go to the first view that has the horizontal scroll, in this case the Tablet view.

I took a look at your site, and this is what I found:

A. Change the fixed width on tablet portrait view of the element class shown below, from 964px on tablet view (it is inheriting this from desktop view) and change that to 100% width:

Next, go to your footer-form class and change the width from 800px to 100%:

Next, go to your button plan-btn dia class, and change the button to auto width:

After making those changes, make sure your changes are saved and republish the site and see how things look. If something still need to be adjusted, it is ok, you can continue to make style changes smile

​I hope this helps smile Cheers, Dave


#4

@sabanna @cyberdave Thank you so much for your quick and awesome response! Ultimately, Sabanna's suggestion of making the mobile body overflow: hidden worked.. not sure how I missed that. I had changed those interactions to only move in from 50px, so they didn't go off the screen.

@cyberdave I am sure that I will need to fix those issues you brought up, especially on tablet view. I havn't gotten that far.

Thanks again for the quick response. You guys are awesome! smiley


#5

Hi @Jon_Lehman, thanks, I am glad to hear you got it resolved smile Thank you @sabanna smile


#6

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.