Okay
  Public Ticket #2107941
@font-display
Closed

Comments

  • Kat111 started the conversation

    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



  •  8,994
    Tahir replied

    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 

  • Kat111 replied

    Thank you.