overflow: hidden
styling.width: 100%
or max-width: 100%
.overflow: hidden
selectively on the body or wrapper elements to prevent unwanted scrolling.Your Webflow site is scrolling horizontally on mobile due to an element extending beyond the viewport width. This can be caused by oversized images, negative margins, or elements with fixed widths. Follow these steps to identify and fix the issue.
overflow: hidden
to the <body>
or <html>
to check if the issue disappears. If it does, an inner element is causing the problem.width: 100%
instead of fixed pixel values where necessary.max-width: 100%
.overflow: hidden
to the Body or Main Wrapper: In Style Panel, under Layout, set overflow: hidden
.overflow: hidden
on elements that require scrolling (e.g., carousels).Your Webflow site is scrolling horizontally on mobile due to elements exceeding the viewport width. Identify problematic elements using Webflow’s Preview, adjust widths and margins, and set overflow to hidden where needed. Re-test across devices to confirm the issue is resolved.