Your grid layout sticking out on the right side of the page in the tablet breakpoint is usually due to overflow issues caused by fixed element sizing, negative margins, or incorrect column settings.
1. Check for Overflowing Elements
- Inspect all grid children to ensure none have widths or margins that exceed the grid boundaries.
- Look for elements with fixed widths (e.g., Width: 1000px) or negative margins (e.g., Margin-left: -20px).
- Avoid unnecessary min-width or extra-wide images or embeds.
2. Check Grid Column Settings
- In the Tablet breakpoint, select your Grid element and:
- Make sure columns are set to “Auto” or use fractional units (e.g., 1fr) instead of fixed pixel values.
- Ensure there’s no explicit "Max-Width" or "Min-Width" set that’s too large for the viewport.
3. Inspect Custom Padding or Margins
- On tablet, select the Grid container and review its padding and margin settings.
- If it's inside a larger container, make sure that outer container doesn’t have excessive horizontal padding causing overflow.
4. Apply Overflow Control
- Select the Body or a parent wrapper and set Overflow: Hidden to prevent layout spillover—though this is a patch and not a fix if content really needs resizing.
- Use this method for debugging: try turning it on to verify the overflow direction.
5. Use Webflow’s Style Panel Preview
- Use Navigator + Style Panel in tablet view to check visibility and spacing on each grid item.
- You can also use X-Ray mode (Shift + X) in Webflow Designer to spot misaligned or oversized elements visually.
6. Inspect with Browser Dev Tools
- Preview your tablet layout and open Dev Tools in your browser.
- Use the mobile/tablet simulation tool to drag the viewport and see which element causes horizontal scrolling or pushes content.
Summary
To fix grid layout overflow on tablet, check for oversized grid items, use fractional units (not fixed px) for columns, adjust padding/margins, and ensure no child element breaks out of the grid bounds. Use Overflow: Hidden as a diagnostic aid and validate fixes in the Designer and live preview.