How to Fix Small Font Size on Mobile (16px Base Text)

This check flags pages whose base (body) text renders smaller than 16px on a mobile viewport. By the end of this guide you will have measured your current base size, set the root and body font size to at least 16px, removed mobile overrides that shrink it, and confirmed the change on a real device.

By Updated ⏱ 20 minutes🎯 Beginner● Low impactOn-Page
Illustration: Legible font size on mobile fix guide
ON-PAGE · FIX GUIDE Legible font size on mobile IMPACTEFFORT TIME20 minutes LEVELBeginner

Why it matters

Text below 16px on a phone makes visitors pinch-zoom or leave, which hurts engagement signals, readability and accessibility for users with low vision. It also causes iOS Safari to auto-zoom when users tap form fields with smaller text, breaking layouts during checkout or sign-up. The ranking effect is indirect, but the fix is usually one or two CSS lines with no downside.

✕BeforeOn a 390px-wide phone, the bodyelement computes to font-size: 14px(or 10px via html { font-size: 62.5%✓AfterOn the same phone, html and bodycompute to font-size: 16px, andparagraphs, lists and form inputs are

What you need

Access to your theme CSS, site builder design settings or code repository
Chrome or Edge DevTools (device toolbar)
A phone to test the live result
Ability to clear site and CDN caches

Step-by-step fix

1

Measure the current base font size on mobile

Open the page in Chrome, press F12, then click the device toolbar icon (Ctrl+Shift+M / Cmd+Shift+M) and pick a phone such as iPhone 14. In the Elements panel select the <body> element, open the Computed tab and filter for font-size. Repeat for the <html> element.

If either value is below 16px, that is what the audit is flagging.

javascript
getComputedStyle(document.body).fontSize + ' / html: ' + getComputedStyle(document.documentElement).fontSize
Pro tip: Paste the snippet into the DevTools Console while in device mode to read both values at once. Check a few templates (home, product, blog post) since each can load different CSS.
2

Confirm the viewport meta tag is present

Without a viewport tag, mobile browsers render the page at about 980px wide and shrink everything, so even a 16px font looks tiny. Make sure every page has this tag inside <head>. Do not add maximum-scale=1 or user-scalable=no, which block zooming and are an accessibility failure.

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

Set a 16px root and body font size

In your main stylesheet set the root to the browser default (100%, which is 16px) and make body text 1rem. Using 100% instead of a fixed 16px on html respects users who have raised their browser's default size.

text
html {
  font-size: 100%; /* 16px default, respects user settings */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 1rem; /* 16px */
  line-height: 1.5;
}
Pro tip: Load this rule after framework or theme CSS, or raise its specificity, so it is not overridden.
4

Remove the 62.5% trick and mobile shrink rules

Search your CSS for rules that reduce the base size, especially:

  • html { font-size: 62.5%; } (makes 1rem = 10px)
  • body { font-size: 14px; } or 0.875rem
  • @media (max-width: 767px) { body { font-size: 13px; } }

Delete them or raise the values to 16px. If you used 62.5% so that 1.4rem = 14px, convert those rem values by dividing by 1.6 (e.g. 1.4rem becomes 0.875rem, 2.4rem becomes 1.5rem).

text
grep -rnE "font-size:\s*(62\.5%|1[0-5]px|0\.[0-9]+rem)" ./css ./src
Pro tip: If you want fluid type, use clamp with a 16px floor: body { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); }
5

Scale secondary text and form inputs in rem

Once the base is 16px, size other text relative to it so nothing drops too far. Keep main content and form fields at 1rem; reserve 0.875rem (14px) for captions or legal notes only. Inputs, selects and textareas below 16px trigger auto-zoom on iOS Safari.

text
input, select, textarea, button {
  font-size: 1rem;
}

.caption, small {
  font-size: 0.875rem;
}
Pro tip: Avoid setting font sizes in vw alone; on narrow phones 3vw is under 12px.
6

Clear caches and recheck in device mode

g. Cloudflare: Caching > Configuration > Purge Everything) and browser cache. Reload the page in DevTools device mode and confirm <html> and <body> both compute to 16px or more, then open the page on a real phone and read a paragraph at arm's length without zooming.

Finally, rerun the audit for the affected URLs.

Pro tip: Test with the phone's system text size at default; the audit measures default rendering, not accessibility overrides.

Platform-specific notes

WordPress

Block themes: go to Appearance > Editor > Styles > Typography > Text and set Size to 16px or larger. Classic themes: Appearance > Customize > Typography (names vary by theme, e.g. Astra: Global > Typography > Body Font Size, with separate tablet/mobile icons). Otherwise add the CSS under Appearance > Customize > Additional CSS.

Shopify

In Online Store > Themes > Customize > Theme settings > Typography, raise the body 'Font size scale' (Dawn-based themes start at 100% = roughly 15-16px depending on version). If it still computes under 16px, add the CSS to assets/base.css via Edit code, as some themes set html { font-size: calc(var(--font-body-scale) * 62.5%) }.

Wix

Set paragraph sizes in Site Design > Text (Text Themes), then switch to the mobile editor and check each text box, since Wix lets mobile sizes differ from desktop. Wix Studio users should check the mobile breakpoint in the Typography panel.

Webflow

Select the Body (All Pages) tag in the Style panel and set Font Size to 16px at the Desktop base breakpoint, then click the Mobile Landscape and Mobile Portrait breakpoints to remove any orange (overridden) smaller values. Publish to apply.

Next.js / Tailwind

Tailwind's text-base is 1rem (16px), but check that tailwind.config or your globals.css does not set html { font-size } lower, and that body does not use text-sm on small screens (e.g. 'text-sm md:text-base'). Change it to 'text-base' and rebuild.

Check that it worked

✅ How to verify

  • In Chrome DevTools device mode, run getComputedStyle(document.body).fontSize in the Console and confirm it returns 16px or more on each main template.
  • Open the live page on an iPhone and an Android phone and tap a form field; the page should not auto-zoom.
  • View the page source on a phone-sized viewport and confirm the meta viewport tag is present with width=device-width.
  • Rerun the site audit and confirm the affected URLs no longer appear under this check.

⚠️ Common mistakes

  • Fixing desktop CSS while a @media (max-width) rule still shrinks body text on phones.
  • Keeping html { font-size: 62.5% } and only setting paragraphs to 1.6rem, which leaves the base font at 10px.
  • Adding user-scalable=no or maximum-scale=1 to the viewport tag to stop zooming instead of fixing the text size.
  • Forgetting to purge CDN or plugin caches, so the audit still sees the old stylesheet.

Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

What is the minimum font size for mobile websites?

Use 16px for body text as the baseline. Smaller sizes like 12-14px can work for captions or footnotes, but main paragraphs, lists and form fields should be 16px or larger.

Does font size on mobile affect SEO?

Not as a direct ranking factor, but tiny text increases pinch-zooming and bounces, and hurts accessibility. It is a low-effort fix that improves usability for every mobile visitor.

Why does iPhone zoom in when I tap an input field?

iOS Safari zooms into inputs, selects and textareas whose font size is below 16px. Set font-size: 1rem (16px) on form controls to stop it without disabling zoom.

Should I use px, rem or em for font size?

Use rem for most text and set html to 100%. That gives 16px by default while still scaling if a user increases their browser's default text size, which fixed px values on html would ignore.