overflow-x: hidden
on <body>
and <html>
and fix any elements with widths like 100vw
by using 100%
or setting overflow: hidden
on parent containers.To prevent unwanted horizontal scrolling and fix alignment issues on mobile, you'll need to adjust layout settings and overflow behavior. Additionally, centering a footer form on mobile requires style tweaks in the mobile breakpoints.
Enable Overflow Hidden on the <body>
and <html>
elements:
Go to Pages Panel → click the gear icon beside your page.
Under Custom Code > Inside Head Tag, add this line:<style>body { overflow-x: hidden; }</style>
Identify and Fix Overflowing Elements in Designer:
In the Designer, select each Section, Div, or Block and check their Width settings.
Make sure no element has a width set to 100vw or similar that ignores scrollbar width. Instead, use 100% where possible.
For containers that wrap dynamic content like sliders, grids, columns, set Overflow: Hidden
to prevent child elements from pushing content horizontally.
Use the Navigator Panel to inspect elements:
Turn on the mobile view and scroll right—select any highlighted or overflowing elements.
Apply overflow: hidden to the parent containers where needed.
Goto Mobile Breakpoint (Tablet/Mobile):
Switch to the mobile view in the top bar of the Designer.
Select the Footer Form’s Parent Container:
Make sure the form is wrapped in a Div Block
or container.
Set the container to Flex → Vertical (Column).
Use Align: Center and Justify: Center if needed.
Adjust Form Width for Mobile:
Select the Form Block and set:
90%
Check for Padding Issues:
On small screens, too much padding or fixed
widths can break alignment. Switch those to %
widths or use VW
/Auto
.
To remove horizontal scrolling, apply overflow-x: hidden
to the body and fix any elements set to widths that exceed the screen. To center a footer form on mobile, use Flexbox with center alignment settings and responsive width and margins.