100vw with 100% for layout sections to avoid overflow caused by scrollbars. overflow-x: hidden on the Body or outer wrapper to prevent horizontal scrolling. Horizontal scroll bars and unwanted white space are usually caused by elements overflowing the viewport width, especially when using 100vw in Webflow. Here’s how to fix that and avoid layout issues on vertically long pages.
100vw
100vw sets an element’s width to match the full viewport width.100vw, causing your content to push beyond the visible area, triggering horizontal scroll and white space on the right.100vw and inner elements having margin/padding.
100vw Where Possible
100% width instead of 100vw for most containers and sections. This respects the available content width excluding scrollbars.100vw, but with caution.
overflow-x: hidden to Page or Body
Overflow: Hidden on the X-axis (overflow-x).
Body or html element to visible overflow, then inspect in Webflow's preview or browser Dev Tools.
vw widths or unexpected paddings/margins.
calc(100vw - scrollbarWidth) using custom CSS via an embed or code component when absolutely needed.width: calc(100vw - 17px); — but exact value varies per platform.
To avoid horizontal scrolling and white space with 100vw in Webflow:
100% over 100vw for layout sections.overflow-x: hidden to the Body or outer wrapper.
This ensures your long vertical pages remain clean and don’t cause unwanted horizontal scroll on any device.