Web fonts are the single most common reason a WordPress site that should hit Core Web Vitals does not. The defaults across themes, page builders, and Google Fonts integrations produce a font-loading pattern that costs 1-2 seconds of LCP and routinely emits CLS spikes when text reflows once the web font finally loads. Most sites we audit under managed enterprise WordPress hosting have ten to twenty web font files loading on every page, three to five of which are never displayed. The audit and the fix below bring fonts back to a budget the Core Web Vitals can absorb.
What’s happening
A typical WordPress site loads web fonts from three or four overlapping sources:
- The active theme loads its own font stack (often through Google Fonts API).
- The page builder loads its own font stack (Elementor and Divi both have Google Fonts enabled by default).
- A custom font plugin loads additional weights for headlines or branding.
- The browser, in the absence of explicit
font-displayconfiguration, blocks text rendering until the font arrives.
The Core Web Vitals damage:
- LCP: if the LCP element is text rendered in a web font, the LCP cannot complete until the font loads. A 200 KB font over a 100ms connection is 2 seconds of waiting.
- CLS: when the fallback system font and the web font have different metrics (x-height, advance width), text reflows when the swap happens. Each reflow contributes to CLS.
- Render-blocking:
<link rel="stylesheet" href="fonts.googleapis.com/...">blocks render until the response arrives. Google Fonts API is fast but still adds a network round-trip on the critical path.
How to verify
Audit the font payload:
curl -s https://example.com/ -o /tmp/page.html
grep -oE '@font-face[^}]*' /tmp/page.html | wc -l
grep -oE 'fonts.googleapis.com[^"]+' /tmp/page.html | sort -u
grep -oE 'fonts.gstatic.com[^"]+' /tmp/page.html | sort -u
grep -oE 'src="[^"]+\.(woff2?|ttf|otf)"' /tmp/page.html
Then in DevTools → Network → filter “Font”, reload, and read the list. Count unique font files. Sum their sizes. Compare against how many distinct fonts your design actually uses (look at the rendered page — usually two or three families, not ten weights).
For the LCP impact specifically:
# Lighthouse will surface this directly
# look for "Preload key requests" and "Ensure text remains visible during webfont load"
For CLS, the WebPageTest filmstrip view or DevTools → Performance → Layout Shift trace shows the exact frame where text reflows.
The fix
The font-loading discipline that holds Core Web Vitals:
-
Self-host fonts. Google Fonts API is fast but adds a cross-origin DNS lookup, TLS handshake, and HTTP/2 connection. Download the WOFF2 files for the specific weights and styles you actually use, host them at
wp-content/uploads/fonts/, and enqueue them from the same origin. Plugins like OMGF (Optimize My Google Fonts) automate this. -
Use
font-display: swap. This tells the browser to render text in the fallback font immediately and swap to the web font when it arrives. Eliminates the “invisible text” problem and unblocks LCP:@font-face { font-family: 'YourBrand'; src: url('/wp-content/uploads/fonts/yourbrand.woff2') format('woff2'); font-display: swap; } -
Preload the critical fonts. For the LCP element’s font specifically, add a
<link rel="preload">in the head:<link rel="preload" href="/wp-content/uploads/fonts/yourbrand.woff2" as="font" type="font/woff2" crossorigin>Preload only the fonts above the fold. Preloading everything defeats the purpose.
-
Match fallback metrics with size-adjust. This eliminates the CLS reflow when the web font swaps in. Add
size-adjust,ascent-override, anddescent-overrideto@font-faceto match the fallback system font’s metrics:@font-face { font-family: 'YourBrand-fallback'; src: local('Arial'); size-adjust: 105%; ascent-override: 92%; descent-override: 22%; }Then in the CSS that uses the font:
font-family: 'YourBrand', 'YourBrand-fallback', sans-serif;. -
Audit and prune the weights you do not use. A typical brand uses regular (400) and bold (700). Many WordPress sites load 100, 200, 300, 400, 500, 600, 700, 800, 900 plus italic variants of each. Each unused weight is a 30-100 KB request.
-
Turn off the page builder’s font loader if you have replaced it. Elementor → Settings → Advanced → Google Fonts → Off (after configuring self-hosted equivalents). Divi has a similar toggle. Forgetting this step is the single most common reason a WordPress hosting performance audit finds duplicate font loads.
For WordPress sites where Core Web Vitals have a marketing deadline attached, Stack Harbor performs the font audit as part of managed enterprise WordPress hosting performance work and ships a font-loading configuration the team can maintain. Book a WordPress consult if your LCP is anchored above 2.5s by font-loading alone.