On this page
What this issue is
The viewport meta tag tells a mobile browser how wide the page should be and how much to zoom at first. Without it, most phone browsers fall back to a virtual desktop width (often around 980 px) and scale the result down to fit the real screen.
The result looks like a miniature desktop site. Your media queries (the CSS rules that switch layouts by screen width) see a wide screen, so the mobile layout never loads, even if your theme has one.
<meta name="viewport" content="width=device-width, initial-scale=1">Why it costs you leads or sales
Visitors on phones have to pinch and zoom to read a headline, tap a button or fill in a field. Many will not bother. Forms, checkout buttons and phone numbers become hard to hit, so mobile visitors leave instead of converting. Paid mobile clicks are wasted on a page that looks broken.
- Ad or search clickVisitor taps a link on their phone
- Page loads tinyNo viewport tag, desktop layout shrunk
- Reads and tapsNeeds pinch-zoom, mis-taps
- Form submittedNever reached
The page loads, but the shrunk layout blocks every step after it.
Example: illustrative numbers only, not real measurements.
How to check if your site has it
Open it on a real phone
If the page looks like a zoomed-out desktop site with very small text, the tag is probably missing or wrong.
View the page source
On desktop, right-click the page, choose View page source and search for
viewport. You should find a meta tag withwidth=device-width.Use Chrome DevTools
Press F12, click the device toolbar icon, pick a phone size and reload. If the page does not reflow to the narrow width, check the head for the tag.
Run Lighthouse
In DevTools, open the Lighthouse tab and run a mobile audit. It reports a missing or invalid viewport tag.
How to fix it
Add the tag once in the shared <head> so every page gets it. Most modern themes and builders already include it, so if it is missing, look for a custom template, a removed theme setting or a plugin that strips head code.
Check your theme header
Go to Appearance > Theme File Editor (or use a child theme) and open header.php. Make sure the tag is inside
<head>.Add it if missing
Paste
<meta name="viewport" content="width=device-width, initial-scale=1">beforewp_head();, or hook it with a small snippet in a child theme's functions.php.Clear caches
Purge any caching plugin and CDN cache, then re-test on a phone.
Open the theme code
Go to Online Store > Themes > Edit code and open layout/theme.liquid.
Add the tag
Make sure the viewport meta tag is inside
<head>. Add it if missing, then save.
Check site settings
Webflow adds the tag by default. If it is gone, check Site settings > Custom code > Head code for anything that overrides it.
Re-publish
Add the tag in Head code if needed and publish the site.
Use the built-in mobile view
Wix handles the viewport itself. If the page looks shrunk, check for custom code in Settings > Custom code that injects a conflicting tag, and remove it.
Check code injection
Squarespace adds the tag by default. Look in Settings > Advanced > Code injection for custom header code that might conflict.
Add it to the funnel or website head
Open the funnel or website, go to Settings > Tracking Code > Header Code, paste the viewport tag and save. Then check each page on a phone.
Do not use GTM for this
The tag must be in the HTML head, loaded before the page renders. Fix it in your theme or template, not through a GTM custom HTML tag.
Add it to your base layout
Put the tag in the shared head partial or layout file, ideally right after the charset meta tag, so every page inherits it.
Make sure your CSS is responsive
The tag only enables mobile width. If your CSS uses fixed pixel widths, add media queries or flexible units too.
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Your page title</title>
</head>How to confirm it's fixed
- View source on each key page and find the viewport tag inside the head
- Open the page on a real iPhone and Android phone: text is readable without zooming
- Check that the mobile layout appears (menu, stacked columns, full-width form)
- Run a Lighthouse mobile audit and confirm no viewport warning
- Test the form or checkout button with your thumb
How to prevent it happening again
The tag usually disappears when a theme is switched, a template is rebuilt, a page is moved to a new builder or someone pastes over the head code. Keep it in one shared layout file and add a phone check to your release routine.
- Test every new landing page on a phone before you send traffic to it
- Re-check after theme changes, redesigns and migrations
- Keep head code in one shared template, not copied per page
- Run a Lighthouse mobile audit after each major release
How FunnelGuard handles this
FunnelGuard does not check for a missing viewport meta tag yet. It is a possible future check. Today, FunnelGuard runs your real customer journeys on a schedule and checks each step, the tracking hits and whether test leads arrive, and sends one alert with a screenshot if a journey fails.
That can show you the symptoms of a broken page, such as a form that cannot be submitted, but it will not tell you that the viewport tag is the reason. To watch for this issue, run a Lighthouse mobile audit after changes, check key pages on a real phone, or use the free read-only FunnelGuard website audit as a general health check.
Related checks worth doing
Once the tag is in place, look at tap target size, input font size and horizontal scrolling. These are separate problems that often show up right after a viewport fix.
Questions people ask
Why does my website look tiny on mobile?
Most likely the page has no viewport meta tag. Phones then render it at a desktop width of about 980 px and shrink it to fit. Add <meta name="viewport" content="width=device-width, initial-scale=1"> to the head.
What is the viewport meta tag and what does it do?
It is a line of HTML in the head that tells mobile browsers to match the page width to the device screen and set the starting zoom. Without it, responsive CSS and mobile layouts do not apply.
What is the correct viewport meta tag?
Use <meta name="viewport" content="width=device-width, initial-scale=1">. It works for nearly all sites. Avoid adding user-scalable=no or maximum-scale=1.
How do I check if my site has a viewport meta tag?
View the page source and search for viewport, or run a Lighthouse mobile audit in Chrome DevTools. You can also open the page on a phone: a tiny zoomed-out desktop layout is a strong sign it is missing.
Why is my responsive design not working on phones?
A missing viewport tag is a common cause. Without it, the browser reports a wide screen, so your media queries pick the desktop styles. Add the tag first, then check your CSS breakpoints.
Can I add the viewport tag with Google Tag Manager?
It is not recommended. The tag needs to be in the HTML head before the page renders, and GTM loads later. Add it in your theme, template or site builder instead.
Does a missing viewport tag hurt SEO?
It can. A page that is not usable on mobile gives visitors a poor experience, and Google tests pages on mobile. Fixing it makes the page readable and easier for visitors to use.
Does FunnelGuard detect a missing viewport meta tag?
No, not yet. It is a possible future check. FunnelGuard currently monitors journeys, tracking hits and test leads, so use Lighthouse or a phone test for this issue.
Related issues
- PRF-161Pinch-zoom disabled (user-scalable=no / maximum-scale=1)Fix guide
- PRF-154Horizontal scroll / content wider than viewport on mobileFix guide
- PRF-165Inputs with font-size under 16 px cause iOS auto-zoomFix guide
- PRF-162Tap targets smaller than 24x24 pxFix guide
- PRF-164Text under 12 px on mobileFix guide
- PRF-177Layout broken on small phones (320-360 px)Fix guide