Skip to content

No mobile viewport tag

The page has no viewport tag, or one that stops zooming, so phones lay it out at desktop width and shrink it to fit.

Why it matters

Text is tiny and has to be zoomed, and taps can wait for the phone to decide whether a double tap is coming.

How to fix it

  1. Add the standard viewport tag to the page’s head, without maximum-scale or user-scalable=no.
    <meta name="viewport" content="width=device-width, initial-scale=1">
On WordPress
  1. WordPress adds the tag itself to every page of a block theme.
  2. With a classic theme, the theme adds it: if it’s missing, update the theme or ask its developer.

WordPress help: _block_template_viewport_meta_tag() (opens in a new tab)

On Shopify
  1. Shopify’s themes add the tag in their code. If it’s missing or blocks zoom, duplicate the theme, then go to Online Store, click … › Edit code, search all theme files for name="viewport" and change it to the standard tag. If there isn’t one, add it inside <head> in layout/theme.liquid. Theme updates can undo code edits, so check again after updating.

Shopify help: Editing theme code (opens in a new tab)

On Wix
  1. Wix has no setting for this: Wix Editor sites use Wix’s own viewport tag, width=320, user-scalable=yes, which can’t be changed.
  2. If phones show the desktop layout, click Settings in the editor’s top bar, then Mobile Friendly, and turn the toggle on.

Wix help: Wix Editor: Viewport Configuration for Mobile Devices (opens in a new tab)

On Squarespace
  1. Mobile styles are always on in version 7.1. In version 7.0, open the Design panel, click Template settings and make sure Disable mobile styles is unchecked. You’ll only see this setting if your template supports it.

Squarespace help: Tips for keeping your site mobile-friendly (opens in a new tab)

On Hostinger
  1. If phones show the desktop layout, go to More (⋯) › Integrations, remove the viewport code from the Custom code field, save and click Update website.

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

On Webflow
  1. Remove any viewport tag with user-scalable=no or maximum-scale=1 from Site settings › Custom code › Head code and from each page’s Page settings › Custom code: it stops visitors zooming.

Webflow help: Custom code in head and body tags (opens in a new tab)

In code (HTML, CSS or Tailwind)
  1. Put the tag once in the <head> of the layout every page shares, and take user-scalable=no and maximum-scale out of it.
    <meta name="viewport" content="width=device-width, initial-scale=1">

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

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)