Page breaks when zoomed or respaced
This page blocks pinch zoom, scrolls sideways at 320 pixels wide (what 400% zoom looks like), or cuts text off when spacing is increased.
Why it matters
People with low vision pinch to zoom on phones. Turning zoom off makes small text unreadable for them.
At 400% zoom a page has the room of a screen 320 pixels wide. If it scrolls sideways there, every line has to be read by scrolling back and forth.
Many people widen the spacing between lines, words and letters. Boxes with a fixed height then cut the text off.
How to fix it
- In the viewport meta tag, remove user-scalable=no and any maximum-scale below 5:
<meta name="viewport" content="width=device-width, initial-scale=1">
- Let the layout narrow to 320 pixels: flexible widths (max-width: 100%, flex or grid that wraps) instead of fixed widths, and let long words and addresses break:
img { max-width: 100%; height: auto; } .content { overflow-wrap: anywhere; } - Let text boxes grow: min-height instead of height, and no overflow: hidden on buttons, labels and cards.
- Tables, maps and code may scroll inside their own box; the page itself shouldn’t.
On Shopify
- The viewport tag is in theme.liquid (Online Store › Themes › Edit code › layout/theme.liquid).
Common mistakes
- Disabling zoom to stop a layout glitch on iPhones.
- A fixed-width element (a banner, an embedded widget) that pushes the whole page sideways.
- Fixed heights on buttons and cards that look fine until someone changes their text settings.
Check your fix
Once the change is live, check the page again.