Skip to content

Fonts hide text while loading

Text stays invisible until its web font has downloaded, because the font isn’t set to show a fallback in the meantime.

Why it matters

On a slow connection, visitors see the page’s images and layout but no words for a second or more.

How to fix it

  1. Set each font to show a fallback font while it loads: in CSS that’s font-display: swap.
  2. Use fewer fonts and weights, for example two families with two weights each, so there’s less to wait for.
On WordPress
  1. Go to Appearance › Fonts (or Styles › Typography › Manage fonts in the editor) and open a font’s variants: uncheck the weights you don’t use and click Update, or click Delete to remove a font you don’t use.

WordPress help: Manage installed fonts (opens in a new tab)

On Shopify
  1. Go to Online Store, click Edit theme, then Theme settings › Typography and, under Headings or Body, click Change and choose a system font: it’s already on the visitor’s device, so there’s nothing to download.

Shopify help: Customizing theme settings (opens in a new tab)

On Wix
  1. Use three or four fonts at most, and system fonts where you don’t need a brand font: they load faster.

Wix help: Site Performance: Best Practices (opens in a new tab)

On Squarespace
  1. Use web-safe fonts such as Georgia or Verdana where you don’t need a brand font: there’s nothing to download. Keep to two fonts at most across the site.

Squarespace help: My site is loading slowly (opens in a new tab)

On Hostinger
  1. Keep to the two fonts set in Styles › Fonts, one for headings and one for paragraphs and navigation, rather than changing the font of single text elements.

Hostinger help: Hostinger AI Builder: How to change text style in manual mode (opens in a new tab)

On Webflow
  1. For fonts you uploaded, go to Site settings › Fonts › Custom fonts, edit each one and set its font display to Swap.
  2. Delete the fonts and weights you don’t use, after changing every element that uses them.

Webflow help: Upload custom fonts (opens in a new tab)

In code (HTML, CSS or Tailwind)
  1. Add font-display: swap to each @font-face. With Google Fonts, add &display=swap to the font’s address.
    @font-face {
      font-family: "Brand";
      src: url("/fonts/brand.woff2") format("woff2");
      font-display: swap;
    }

MDN: font-display (opens in a new tab)

Common mistakes

  • Hiding the whole page until its fonts arrive, a fix some help pages give for the flash of a fallback font: visitors then see no text for longer.

Check your fix

Once the change is live, check the page again.

Want it done for you?

We’re a product design studio. We can make this fix, and check the rest of your site while we’re at it.

Book a call (opens in a new tab)