Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #519088

    Hi,

    I would like to try deferred loading of the font. How can I remove the inlined @font-face css, preferebly with a function in my child theme?

    Thanks and best regards!

    #519480

    Hey Gero!

    I’m guessing your wanting line 469 in the /enfold/config-template-builder/avia-template-builder/php/font-manager.class.php.

    @font-face {font-family: '{$font_name}'; font-weight: normal; font-style: normal;
    

    Cheers!
    Elliott

    #519810

    Thank you, that helped. Is it possible to disable this function from within the child-themes function.php?

    By the way, you should consider adding a WOFF2 version of entypo.

    Have a nice weekend!

    #520594

    Hey!

    Unfortunately, it’s not possible to modify a static method outside the class. You will have to edit the file directly.

    Regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.