Comments Kat111 started the conversationAugust 7, 2019 at 12:10pmHello Tahir,I am trying to optimize the site and want to apply "font-display" property to all existing (already loaded) fonts and elements;.I have tried a few codes but nothing works as the "font-display" property is not recognized.I was trying to add this code to the style.css file:* { font-display:optional;}And I was trying this too:@font-face {font-family: 'Some Font';font-display: optional;}Can you please assist?Thank you very much.Kind regards,Kat 8,994Tahir repliedAugust 7, 2019 at 1:13pmHey Again,Unfortunately there is no such code snippet available at the moment . Though have noted it in the Wishlist for upcoming updates .Best ThemeNectar Support Team Kat111 repliedAugust 7, 2019 at 1:45pmThank you. Sign in to reply ...
Hello Tahir,
I am trying to optimize the site and want to apply "font-display" property to all existing (already loaded) fonts and elements;.
I have tried a few codes but nothing works as the "font-display" property is not recognized.
I was trying to add this code to the style.css file:
* {
font-display:optional;
}
And I was trying this too:
@font-face {
font-family: 'Some Font';
font-display: optional;
}
Can you please assist?
Thank you very much.
Kind regards,
Kat
Hey Again,
Unfortunately there is no such code snippet available at the moment . Though have noted it in the Wishlist for upcoming updates .
Best
ThemeNectar Support Team
Thank you.