Meta viewport

Quick win

Found on 12% of audited stores.

Remove `user-scalable=no` (and any `maximum-scale` value below 5) from your site's `<meta name="viewport">` tag so visitors can pinch-to-zoom on mobile devices.

What it is

The `<meta name="viewport">` tag in your site's HTML tells mobile browsers how to display your page. Two specific settings inside it — `user-scalable=no` and `maximum-scale=1` (or any value less than 5) — completely prevent visitors from pinching to zoom in on your content. This violates WCAG 2.1 Success Criterion 1.4.4 (Resize Text), which requires that text can be resized up to 200% without loss of content or functionality. Removing these restrictions restores the browser's built-in zoom capability and brings your site into compliance.

Why it matters

Millions of people with low vision, aging eyesight, or small screens rely on pinch-to-zoom to read text comfortably — disabling it makes your store actively unusable for them. From a legal standpoint, WCAG 1.4.4 is referenced in accessibility laws and regulations in the US (ADA), EU (EN 301 549), and UK (PSBAR), meaning a blocked zoom can expose you to discrimination complaints or lawsuits. On the SEO and conversion side, Google uses mobile usability as a ranking signal, and visitors who can't read your product descriptions will simply bounce — costing you sales. Fixing this is one of the fastest accessibility wins available: it's a single line of HTML.

How to fix it

  1. Locate the `<meta name="viewport">` tag in the `<head>` section of your HTML template or theme.
  2. Remove the `user-scalable=no` (or `user-scalable=0`) attribute entirely from the content value.
  3. If `maximum-scale` is set to a value less than 5 (e.g. `maximum-scale=1`), either remove it or raise it to at least `maximum-scale=5`.
  4. Keep the essential parts of the tag intact — a safe, compliant value is: `<meta name="viewport" content="width=device-width, initial-scale=1">`.
  5. Save the file/template and test on a real mobile device or browser DevTools by attempting to pinch-to-zoom — content should scale freely.
  6. Re-run an accessibility audit (e.g. axe DevTools, Lighthouse) to confirm the meta-viewport rule passes.
<meta name="viewport" content="width=device-width, initial-scale=1">

Fix it on your platform

Pick your platform for the exact steps.

How to fix meta viewport on Shopify
  1. In your Shopify admin, go to Online Store → Themes.
  2. Next to your active theme, click Actions → Edit code.
  3. In the Layout folder, open `theme.liquid`.
  4. Search (Ctrl/Cmd+F) for `meta name="viewport"`.
  5. Edit the content attribute to read exactly: `content="width=device-width, initial-scale=1"` — remove `user-scalable=no` and any `maximum-scale` below 5.
  6. Click Save. Verify by opening your storefront on a mobile device and pinching to zoom.
How to fix meta viewport on Shopify Plus
  1. Same as Shopify: Online Store → Themes → Actions → Edit code → Layout/theme.liquid.
  2. If you use a custom checkout, also check `checkout.liquid` (Shopify Plus only) for a second viewport meta tag and apply the same fix.
  3. Save both files and test zoom on storefront and checkout pages.
How to fix meta viewport on WooCommerce
  1. In your WordPress admin, go to Appearance → Theme File Editor (or use a code editor via FTP/SFTP).
  2. Open your active theme's `header.php` (or `functions.php` if the tag is injected via `wp_head`).
  3. Search for `meta name="viewport"` and remove `user-scalable=no` / fix `maximum-scale`.
  4. If you are using a child theme, make the edit in the child theme's `header.php` so it survives updates.
  5. If a page-builder or plugin is injecting the tag, check plugins like Jetpack or your theme's Customizer settings for a 'Mobile' or 'Viewport' option.
  6. Save and test on mobile.
How to fix meta viewport on BigCommerce
  1. In your BigCommerce admin, go to Storefront → My Themes.
  2. Click Advanced → Edit Theme Files on your active theme.
  3. Open `templates/layout/base.html` (Cornerstone theme) or the equivalent base layout file.
  4. Search for `meta name="viewport"` and remove `user-scalable=no` / correct `maximum-scale`.
  5. Save the file and preview on a mobile device.
How to fix meta viewport on Wix
  1. Wix automatically injects a compliant viewport meta tag and does not expose it for direct editing.
  2. If you added custom HTML via Wix's 'Embed Code' / 'Custom Code' feature (Settings → Custom Code or a HTML embed widget) that contains a viewport meta tag, locate and remove the problematic attributes there.
  3. Go to Settings → Custom Code, review any code in the <head> section, and delete `user-scalable=no` or `maximum-scale` values below 5.
  4. If the issue persists and you cannot find a custom code block, contact Wix Support — the platform-injected tag is not owner-editable.
How to fix meta viewport on Squarespace
  1. Squarespace controls the viewport meta tag at the platform level and it is not directly editable.
  2. Check whether a third-party code injection is causing the problem: go to Settings → Advanced → Code Injection and inspect the Header field for any `<meta name="viewport">` tag you or a developer added.
  3. If found, delete `user-scalable=no` and fix `maximum-scale` in that injected snippet, then save.
  4. Also check individual pages: Pages → (select a page) → gear icon → Advanced → Page Header Code Injection.
  5. If no custom injection exists and the default Squarespace tag is the problem, contact Squarespace Support.
How to fix meta viewport on Webflow
  1. In the Webflow Designer, open your Project Settings (gear icon at the top of the left panel or via the Dashboard).
  2. Go to the Custom Code tab.
  3. In the 'Head Code' field, look for any `<meta name="viewport">` tag and remove `user-scalable=no` / fix `maximum-scale`.
  4. Webflow's own injected viewport tag is compliant by default, so this fix usually only applies if a developer manually added a custom tag.
  5. Publish the site and test on a mobile device.
How to fix meta viewport on Adobe Commerce (Magento)
  1. Via SSH or FTP, navigate to your active theme directory: `app/design/frontend/<Vendor>/<theme>/Magento_Theme/layout/`.
  2. Open `default_head_blocks.xml` (or `default.xml`).
  3. Search for the viewport meta tag. Alternatively, check `app/design/frontend/<Vendor>/<theme>/Magento_Theme/templates/root.phtml`.
  4. Remove `user-scalable=no` and fix any `maximum-scale` value below 5 in the content attribute.
  5. If editing the base Luma theme, copy the file to your custom child theme first to preserve changes across upgrades.
  6. Run `bin/magento cache:flush` and test on mobile.
How to fix meta viewport on Magento Open Source
  1. Follow the same steps as Adobe Commerce (Magento) above — the theme file structure is identical.
  2. Edit `default_head_blocks.xml` or `root.phtml` within your custom theme, flush the cache with `bin/magento cache:flush`, and verify on a mobile device.
How to fix meta viewport on PrestaShop
  1. Via FTP or your hosting file manager, navigate to `themes/<your-theme>/templates/_partials/head.tpl`.
  2. Search for `meta name="viewport"` and remove `user-scalable=no` / correct `maximum-scale`.
  3. Save the file and clear PrestaShop's cache: Back Office → Advanced Parameters → Performance → Clear cache.
  4. Test on a mobile device.
How to fix meta viewport on OpenCart
  1. Via FTP, open `catalog/view/theme/<your-theme>/template/common/header.twig` (OpenCart 3+) or `header.tpl` (OpenCart 2).
  2. Find the `<meta name="viewport">` line and remove `user-scalable=no` / fix `maximum-scale`.
  3. Save and refresh your store on a mobile browser to confirm zoom works.

Does your site have this issue?

Run a free SEOLZ audit to find meta viewport — and every other issue — across your whole site in minutes.

Scan my site free

Frequently asked questions

What is Meta viewport?

The `<meta name="viewport">` tag in your site's HTML tells mobile browsers how to display your page. Two specific settings inside it — `user-scalable=no` and `maximum-scale=1` (or any value less than 5) — completely prevent visitors from pinching to zoom in on your content. This violates WCAG 2.1 Success Criterion 1.4.4 (Resize Text), which requires that text can be resized up to 200% without loss of content or functionality. Removing these restrictions restores the browser's built-in zoom capability and brings your site into compliance.

Why does meta viewport matter?

Millions of people with low vision, aging eyesight, or small screens rely on pinch-to-zoom to read text comfortably — disabling it makes your store actively unusable for them. From a legal standpoint, WCAG 1.4.4 is referenced in accessibility laws and regulations in the US (ADA), EU (EN 301 549), and UK (PSBAR), meaning a blocked zoom can expose you to discrimination complaints or lawsuits. On the SEO and conversion side, Google uses mobile usability as a ranking signal, and visitors who can't read your product descriptions will simply bounce — costing you sales. Fixing this is one of the fastest accessibility wins available: it's a single line of HTML.

How do I fix meta viewport?

Remove `user-scalable=no` (and any `maximum-scale` value below 5) from your site's `<meta name="viewport">` tag so visitors can pinch-to-zoom on mobile devices.

Authoritative references

Related Accessibility (WCAG) issues