Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Google Fonts outage causing invisible text: how to fix it

OPS-219Low impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Most sites load custom fonts from a third party, often fonts.googleapis.com (the CSS) and fonts.gstatic.com (the font files). If those requests fail or hang, the browser has no font to draw your text with.

What happens next depends on the font-display setting. With block (the browser default for many setups), the browser hides the text for up to about three seconds, a behaviour called FOIT (flash of invisible text). If the font never arrives, text can stay hidden or switch late. With swap, the browser shows a fallback font straight away and swaps in the custom font if it arrives.

Why it costs you leads or sales

Visitors cannot act on text they cannot see. A hidden headline, form label or button caption makes a page look broken, and people leave. The impact is usually low because full outages are rare, but it hits the moment a page loads, and slow connections or networks that block Google domains are affected more often.

How a font failure hides your call to action
  1. Page loadsHTML and CSS arrive
  2. Font requestfonts.gstatic.com fails or hangs
  3. Text hiddenHeadline and button show blank
  4. Form or checkoutVisitor leaves before acting

The page loads, but the font request fails and text stays invisible, so later steps are lost.

Visitors who act, by font behaviour during an outageExample numbers
Visitors who act, by font behaviour during an outage (example)Fonts load normally: 100 %; Fallback font shown (swap): 95 %; Text invisible (block): 60 %038771009560Fonts load normallyFallback font shown (…Text invisible (block)%

Example: illustrative numbers only. Pages with invisible text lose more visitors than pages that show a fallback font.

How to check if your site has it

Test what your page does without the font
  1. Find where fonts load from

    Open your page, press F12, go to the Network tab, filter by Font and reload. Note any requests to fonts.googleapis.com, fonts.gstatic.com, use.typekit.net or a similar CDN.

  2. Look for font-display

    Open the Google Fonts CSS URL in a tab. Check each @font-face rule for font-display: swap. If the URL has no display=swap parameter, the rule may be missing.

  3. Block the font domainsChrome

    In Chrome DevTools, open the Network tab, right-click a font request and choose Block request domain. Reload and see whether text stays hidden.

  4. Throttle the connection

    Set throttling to Slow 3G and reload. Watch for blank headlines and buttons before the font arrives.

A font request fails

The page renders, but the missing font leaves text blank.

How to fix it

The fix has three parts: always show text, make the fallback look close to your font, and stop depending on a third party for the files. Do the first two on every site. Self-hosting is the most robust option.

Self-hosted font with swap and a fallback stackcss
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
If you keep Google Fonts, add display=swap and preconnecthtml
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
Fix by platform
  1. Check your theme or builder

    Many themes and page builders have a font setting such as a local fonts or font display option. Choose swap and enable local hosting if offered.

  2. Or use a local fonts plugin

    A plugin that downloads Google Fonts to your own server can replace the external requests. Clear caches afterwards and re-check the Network tab.

Font loading setup

Before

  • Fonts load only from a third-party CDN
  • No font-display set
  • Text hidden if the CDN fails

After

  • Fonts hosted on your own domain
  • font-display: swap
  • Fallback font shows text instantly

How to confirm it's fixed

Confirmation checks
  • Network tab shows font files loading from your domain
  • Every @font-face rule has font-display: swap
  • With the font domains blocked, headlines and buttons still show text
  • On Slow 3G, text appears before the font finishes loading
  • No layout jump that hides or moves the main button

How to prevent it happening again

Prevention habits
  • Self-host fonts instead of relying on a third-party CDN
  • Limit the number of font families and weights
  • Always define a fallback stack ending in a generic family
  • Re-run the blocked-domain test after theme or builder changes
  • Avoid icon fonts for key buttons; use inline SVG or add text labels

How FunnelGuard handles this

FunnelGuard covers this issue only partly. It runs your real journeys on a schedule and flags broken resources: requests that fail while the page loads. If a font file or font stylesheet fails to load during a check, that can show up in the results.

What it does not do: it does not tell you whether text was actually invisible to a visitor, it does not audit your font-display setting, and it does not test how your page looks on slow connections or in networks that block Google domains.

Questions people ask

Why is my text invisible while the page loads?

The browser is waiting for a web font and hiding text until it arrives, known as a flash of invisible text. Add font-display: swap to your @font-face rules so a fallback font shows immediately.

Why are Google Fonts not loading on my website?

Common causes are an outage or slow response from fonts.googleapis.com or fonts.gstatic.com, a network or browser extension blocking Google domains, or a broken link in your code. Check the Network tab for failed font requests.

What does font-display: swap do?

It tells the browser to show text in a fallback font straight away and swap to the custom font when it loads. Text is never hidden, which protects your headlines and buttons if the font is slow or missing.

Should I self-host Google Fonts?

Self-hosting removes the dependency on a third-party CDN, so an outage there cannot hide your text. Download the woff2 files, host them on your domain and add an @font-face rule with font-display: swap. Check the font licence first.

How do I test my site without Google Fonts?

Open Chrome DevTools, go to the Network tab, right-click a font request and choose Block request domain, then reload. If text disappears, your fallback setup needs work.

Can a font outage hurt conversions?

Yes, if headlines, form labels or buttons are hidden, visitors cannot use the page. The effect is usually modest because outages are rare, but it is cheap to prevent.

Does FunnelGuard detect Google Fonts outages?

Only partly. It flags broken resources during scheduled journey checks, which can include failed font requests, but it does not confirm whether text was invisible or check your font-display setting.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: Broken resources.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.