Skip to content

A page not made for phones

When a page has no phone layout, or is wider than a phone’s screen, phones shrink it to fit or make people scroll sideways to read it.

Why it matters

Shrunk text is too small to read without zooming, and sideways scrolling hides part of every line, so people give up and leave.

How to fix it

  1. Open the page on a phone and find what runs past the edge, often a large image, a table or an embedded video or map.
  2. Make it fit: shrink it to the screen’s width, or put a wide table in a box that scrolls on its own.
On WordPress
  1. Open the page in the editor, click View and choose Mobile to find the block that runs past the edge.
  2. With a block theme, turn on Responsive styles in the View menu and give that block a smaller width or less padding on Mobile.

WordPress help: Responsive styles (opens in a new tab)

On Shopify
  1. In the theme editor, click the mobile button in the menu bar to see the page as a phone does.
  2. Click the section or block that runs past the edge in the sidebar and change its settings until it fits, or hide it.

Shopify help: Theme editor layout and features (opens in a new tab)

On Wix
  1. Click the Switch to mobile icon at the top of the editor.
  2. Resize anything that runs past the edge. An embed that won’t fit can be hidden on mobile and replaced with a mobile-only one from Add to Mobile › Embed Code.

Wix help: Getting started with the mobile editor (opens in a new tab)

On Squarespace
  1. Click Edit on the page, then click the Mobile View icon in the top-right corner.
  2. Resize any block that runs past the edge, or hide it on phones with Layers.

Squarespace help: Design mobile page layouts in Fluid Engine (opens in a new tab)

On Hostinger
  1. Click the mobile icon in the top toolbar to edit the mobile view.
  2. Drag the resizing handles of anything that runs past the edge until it fits.

Hostinger help: How to edit the mobile version of a website (opens in a new tab)

On Webflow
  1. Click the mobile portrait icon in the canvas bar.
  2. Give anything that runs past the edge a smaller width in the Style panel: styles set on a breakpoint don’t change the larger screens.

Webflow help: Breakpoints overview (opens in a new tab)

In code (HTML, CSS or Tailwind)
  1. Add the viewport tag to the <head> of every page, so phones lay it out at their own width:
    <meta name="viewport" content="width=device-width">
  2. Stop wide things running past the edge: img, video, iframe { max-width: 100%; }, and put a wide table in a <div> with overflow-x: auto (Tailwind: images and videos already fit; add max-w-full to iframes and to anything with a fixed width, and overflow-x-auto to the table’s box).

MDN: The viewport meta tag (opens in a new tab)

Common mistakes

  • Adding the viewport tag without changing the layout: a fixed-width page then scrolls sideways instead of shrinking.

Check your fix

Once the change is live, check the page again.

Want it done for you?

We’re a product design studio. We can make this fix, and check the rest of your site while we’re at it.

Book a call (opens in a new tab)