Ensure text remains visible during webfont load

Some of your text is invisible while its font downloads. Visitors see a blank space where words should be.

What this warning means

Some of your text is invisible while its font downloads. Visitors see a blank space where words should be.

Why it appeared on your page

By default a browser hides text for up to three seconds waiting for a web font. Without `font-display`, that is what happens.

Does it actually matter?

Worth fixing, and the fix is one line. Note that it trades one problem for another: showing a fallback immediately means the text changes appearance when the real font arrives, which can cause layout shift. Both halves need handling.

How to fix it

  1. Add `font-display: swap` to your `@font-face` rules so text renders immediately in a fallback.
  2. Then make the fallback metrically similar, with `size-adjust` and the ascent and descent overrides, so the swap does not move the layout.
  3. Subset fonts to the characters you actually use, and serve WOFF2 only.
  4. Preload the one font that matters most — preloading all of them competes for bandwidth.

On your platform

On Shopify, the platform font system handles this; hand-rolled `@font-face` rules in a theme usually do not. On hosted builders you often cannot set `font-display` at all.

How to check you fixed it

Reload with network throttling and watch the heading area: text should appear immediately rather than after a pause. Then check CLS has not risen because of the swap.