• Resolved hernan2022

    (@hernan2022)


    Hello,

    I am optimizing a website with youzify and I am considering the possibility of using safe fonts

    Searching for documentation I found this tutorial:

    https://kainelabs.ticksy.com/article/16425/

    Since a safe font does not download anything, it would be enough to place CSS similar to this:

    .youzify-membership {
        font-family: 'Verdana', sans-serif;
    }
    
    
    .youzify-no-content {
        font-family: 'Verdana', sans-serif;
    }
    
    #yz-groups-list .action a {
        font-family: 'Verdana', sans-serif;
    }
    
    .youzify-group-manage-members-search #members_search_submit {
        font-family: 'Verdana', sans-serif;
    }
    
    
    .youzify-item-title {
        font-family: 'Verdana', sans-serif;
    }

    The problem is that the website keeps downloading fonts for Open Sans. I also can’t put font-display: swap; to this font

    Could you help me?

    Thank you !

    Greetings

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Youzify

    (@kainelabsteam)

    Hello @hernan2022.

    Thank you for reaching us

    Can you clarify what font you want to use? Can you plesase send me that Google font URL please?

    Best Regards, KaineLabs Team.

    Thread Starter hernan2022

    (@hernan2022)

    A “safe font” is a font that is already present in most browsers, so it is not necessary to download anything, when optimizing a website it can be an interesting choice

    The font I would like to try is called “Verdana”. In addition to applying the font, I would like to know if there is a way to prevent Youzify from downloading Open Sans

    I would also like to advise that the Youzify font is being inserted without font-display (according to https://pagespeed.web.dev/)

    Thanks

    Thread Starter hernan2022

    (@hernan2022)

    I have thought more about the matter and the truth is that the plugin correctly integrates Google fonts (with preconnection) and also only downloads two variables, it is not like other themes or plugins that download practically all the variables of each font

    I have decided to use Open Sans in the project, using the Youzify download. Maybe eventually in the future you could integrate the option to disable Google Font downloads (for those who want to manage the fonts in another way or host them on the server itself)

    What is good to note is that font-display: swap is not working. I had to force it with my optimization plugin

    In any case, thank you very much ! Greetings

    Plugin Support Youzify

    (@kainelabsteam)

    Hello,

    Youzify can use any font. However, we always suggest people use Google fonts as it is easy to integrate and almost has zero glitches. If you want to use another font such as Verdana, it will require some custom snippets and we can not guarantee it will run well in WordPress. ??

    Best Regards, KaineLabs Team.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is it possible to use safe font on Youzify?’ is closed to new replies.