Archived topic
Lightweight Social Icons - font-display
3 replies · Started by Matthew on May 15, 2021
Google Page Speed Insights wants me to use font-display to ensure text is user-visible while webfonts are loading for this:
plugins/lightweight-social-icons/fonts/fontello.woff
Is there something I can add to achieve this?
Hi there,
not really - as its an icon font - so there isn't an alternative fallback as would be a normal text font. I would generally ignore this issue.
Depending on where you're adding the social icons, you could replace the LSI plugin and use a Block Element and GenerateBlocks to hook in your own social icons, which can be displayed using a Buttons Block and SVG icons ie. no fonts :)
Ok, thanks David.
You're welcome