---
title: "Ensure Text Remains Visible During Webfont Load - WordPress Fix"
description: "Fix Web font visibility in WordPress & Offer better user experience by ensuring that your text continues to be visible during the loading process of web font."
url: https://seahawkmedia.com/development/ensure-text-remains-visible-during-webfont-load-wordpress/
language: en
---

[Home](https://seahawkmedia.com/) / [Development](https://seahawkmedia.com/development/) /How To Ensure Text Remains Visible During Webfont Load On WordPress?

Guide

# How To Ensure Text Remains Visible During Webfont Load On WordPress?

![Akshay Kumar](https://seahawkmedia.com/team/akshay-kumar.webp) By [Akshay Kumar](https://seahawkmedia.com/author/akshay-kumar/) Reviewed by the [Seahawk editorial team](https://seahawkmedia.com/editorial-standards/) Updated October 25, 2022

Published September 12, 2022 3 min read

[WordPress](https://seahawkmedia.com/wordpress/) [For businesses](https://seahawkmedia.com/small-business/)

Also in [Dansk](https://seahawkmedia.com/da/udvikling/sorg-for-at-teksten-forbliver-synlig-under-indlaesning-af-webfont-i-wordpress/) [Deutsch](https://seahawkmedia.com/de/entwicklung/sicherstellen-dass-der-text-wahrend-des-ladens-der-webfonts-sichtbar-bleibt-wordpress/) [Español](https://seahawkmedia.com/es/desarrollo/asegurar-que-el-texto-permanezca-visible-durante-la-carga-de-la-fuente-web-en-wordpress/) [Français](https://seahawkmedia.com/fr/developpement/sassurer-que-le-texte-reste-visible-pendant-le-chargement-des-polices-web-wordpress/) [Italiano](https://seahawkmedia.com/it/sviluppo/assicurarsi-che-il-testo-rimanga-visibile-durante-il-caricamento-del-font-web-in-wordpress/) [日本語](https://seahawkmedia.com/ja/%E9%96%8B%E7%99%BA/%E3%82%A6%E3%82%A7%E3%83%96%E3%83%95%E3%82%A9%E3%83%B3%E3%83%88%E3%81%AE%E8%AA%AD%E3%81%BF%E8%BE%BC%E3%81%BF%E4%B8%AD%E3%81%AB%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%81%8C%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%9F%E7%8A%B6%E6%85%8B%E3%82%92%E7%B6%AD%E6%8C%81%E3%81%99%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB%E3%81%99%E3%82%8B%EF%BC%88wordpress%EF%BC%89/) [Nederlands](https://seahawkmedia.com/nl/ontwikkeling/zorg-ervoor-dat-de-tekst-zichtbaar-blijft-tijdens-het-laden-van-het-webfont-in-wordpress/) [Português](https://seahawkmedia.com/pt/desenvolvimento/garantir-que-o-texto-permaneca-visivel-durante-o-carregamento-da-fonte-web-no-wordpress/) [Svenska](https://seahawkmedia.com/sv/utveckling/se-till-att-texten-forblir-synlig-under-laddning-av-webfonts-i-wordpress/)

You may have seen [PageSpeed Insights](https://seahawkmedia.com/glossary/pagespeed-insights/) Warning of “ensure text remains visible during webfont load” when testing your website speed. Your website may be ready to be painted by your browser even before your web fonts have been entirely downloaded. Therefore, users will not be able to see or access your content until your web font has been downloaded. During this time, it will be concealed from view. This is referred to as the **Flash of Invisible Text (FOIT)** issue.

Seahawk Media · Ensure Text Visibility during Webfont Load on WordPress · 4:18

A better user experience may be achieved by ensuring that your text continues to be visible during the loading process of the web font. It helps to eliminate blank pages as well as unwanted changes in layout.

## How do Web Font Loads Affect Page Performance?

It affects in the following ways:

- Impacts PageSpeed Insights Score
- Affects the Cumulative Layout Shift grade
- Grades of First Contentful Paint and Largest Contentful Paint (Core Web Vitals)
- User Experience and Conversion Rates

The absence of text also impacts the user experience during Webfont loading: no one likes to access a website with a blank page. In a few seconds, users can get a good sense of whether or not a site contains the information they’re looking for by reading its main title and text.

It is essential to avoid sudden layout shifts caused by web fonts to optimize and improve the Cumulative Layout Shift grade. Ensuring your text remains visible during loading allows you to prevent unexpected content moves (without user interaction). Web fonts can cause layout shifts if invisible text flashes when downloaded and rendered.

## How to Make sure that the Text Remains Visible While Loading Web Fonts

This particular instant is referred to as the Flash of Invisible Text (FOIT). The error message “Ensure text stays visible during Webfont load” appears because of this FOIT, which is responsible for its appearance.

## Font-display: swap

The font-display property is a CSS descriptor that can be accessed in all contemporary web browsers. The font-display descriptor looks at whether or not the font was downloaded and the date it was downloaded to decide how the font should be displayed. For example, a rule that uses @font-face makes use of the font-display attribute.

There are many distinct variables for how fonts are shown, including block, swap, fallback, and optional. Use the **swap value to prevent FOIT from occurring**, and use the swap value to ensure that the text appears on the screen as quickly as is humanly feasible.

Use the [Swap Google Fonts Display plugin](https://wordpress.org/plugins/swap-google-font-display/) in WordPress to automate this. Elementor has an inbuilt feature for Google fonts swap. Other optimization plugins like WP Rocket, Flyingpress, Perfmatters offer this out of the box.

For faster font loading, use preconnects & preload:

```html
<link rel='preload' href='/font.woff2' as='font' crossorigin>
```

This will also reduce CLS.

## Wrapping Up

This guide explains how you can fix the “flash of invisible text” issue on page speed insight by ensuring text remains visible during Webfont loading.

Page loading time and page speed are important factors in providing a good user experience, and fixing this issue can improve this experience significantly. If a page does not show everything over it, it is not considered loaded. Therefore, to avoid timeouts and provide users with the balance, speed, and stability they want, you must reduce the content loading time on the page.

Speed Up WordPress Performance with our [WordPress site optimization services](https://seahawkmedia.com/services/site-optimization/)!

WP Services

## WordPress services at revolutionary pricing.

Productized WordPress services, from builds to care, delivered by Seahawk and tracked in one app. For the WordPress lovers.

[Go to WP Services](https://wpservices.com/) [Free homepage rebuild](https://seahawkmedia.com/free-homepage-rebuild/)

More in Development

[How To Get Your WordPress Site Listed In Google News? August 30, 2022 · 5 min read](https://seahawkmedia.com/development/wordpress-google-news-approval/) [How to Create a Menu in WordPress April 19, 2022 · 5 min read](https://seahawkmedia.com/development/create-a-menu-in-wordpress/) [Seahawk Vs. Codeable September 17, 2022 · 2 min read](https://seahawkmedia.com/development/seahawk-vs-codeable/) [How To Remove Unused CSS In WordPress? September 13, 2022 · 3 min read](https://seahawkmedia.com/development/how-to-remove-unused-css-in-wordpress/)
