![]() I'm not really sure what to do here, but it has slowed my site to a snail. You should confirm if there is a way to specify the font-display rule with your font hosting service. It's not possible to change the CSS rule for web fonts hosted with most external services. You can read about the different values here. Try different values to achieve the desired result. The font-display supports "auto | block | swap | fallback | optional" values. Src: url('myfont.woff2') format('woff2') To add the font-display property for Google Fonts, you can pass the desired value in the query string display parameter as shown in the example below:įor fonts hosted locally, add the font-display property to the CSS rule as shown 'myWebFont' Your page is not using font-display rule when loading the following web fonts. #Ensure text remains visible during webfont load download#It's recommended to use a font-display descriptor in your rule to control how text renders when web font download delays occur. Most browsers have a maximum timeout, after which a web font will be replaced with a fallback font. When you use web fonts on your website, browsers have to download them before any text can be displayed. The message I am receiving is pasted below.Įnsure text remains visible during webfont load 0 I spoke to my support staff at WPMU Dev and they directed me to contact the theme developer to get the fonts to be hosted locally. Some fonts need to be downloaded by the browser before they are rendered to the users screen. I am having a huge problem with font load response times, as fonts are not being hosted locally. Ensure text remains visible during webfont load. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |