seoaudit.com.auCheck a site

Fix 11 of 20A warningUpdated

No mobile viewport tag

Without a viewport tag, a phone shows the desktop layout shrunk down and the visitor pinches and zooms to read it. Google ranks from the mobile version of a page, so this matters more than it looks.

What we look for

We look in the page’s HTML for <meta name="viewport">. Present passes. Missing is a warning.

Why it matters

The viewport tag tells a phone to lay the page out at the phone’s width instead of pretending to be a desktop screen. Without it, text is tiny, buttons are hard to tap, and Google’s mobile-first indexing sees a page that does not work on the device most searches come from. Every modern site builder includes it, so a warning here nearly always means an old theme or a hand-built page.

How to fix it

WordPress. Every maintained theme includes the tag. If yours does not, it is old enough to replace. If you must keep it, add the line below to the theme’s header.php, inside <head>, or through a plugin that inserts header code.

Squarespace, Wix and Shopify. All three add the tag to every page. If this check warns on one of them, something unusual is happening; check that you typed the right address.

A custom-built site. Add this inside <head> on every page:

<meta name="viewport" content="width=device-width, initial-scale=1">

Then make sure the layout actually adapts to a narrow screen. The tag only tells the phone to use its real width; the design has to fit it.

Check it worked

Open the page on a phone, or narrow a desktop browser window to about 400 pixels. Text should stay readable without zooming. Then run the check again.

Read it from Google

Other tools call this

  • Lighthouse and PageSpeed Insights: Does not have a <meta name="viewport"> tag with width or initial-scale
  • Google Search Console: Viewport not set, Content wider than screen, Text too small to read, Clickable elements too close together
  • Semrush: Missing viewport tag, Viewport width not set
  • Bing Webmaster Tools: Viewport not configured

Every finding, and what each tool calls it

All guides, fixes and checklists