Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author pixelgrade

    (@pixelgrade)

    Hi,

    Could you be a little more specific about what you are trying to do? That CSS rule is part of the @font-face definition. Customify doesn’t handle that.

    When I run pagespeed insights it says that google fonts added by customify doesn’t have font-display attribute.

    Customify adds custom css to my website code. I can and my own css rules but it looks like this

    .site-title, .c-navbar, .c-reading-bar, .single .entry-title, .h0, .header-dropcap, .dropcap, body, .c-reading-bar__wrapper-title, .entry-content, blockquote, h1, .h1, h2, .h2, h3, .h3, .post-navigation .nav-title, div.jetpack-recipe .jetpack-recipe-directions-title, div.jetpack-recipe .jetpack-recipe-ingredients-title, div.jetpack-recipe .jetpack-recipe-title, h4, .h4, .comment__author, .entry-content h5, .h5, h5, blockquote cite, blockquote footer, .wp-block-quote[class] cite, .wp-block-quote[class] footer, .header-meta, .nav-links__label, .comment-form label, .contact-form>div>.grunion-field-label:not(.checkbox):not(.radio), div.wpforms-container[class] .wpforms-form .wpforms-field-label, .nf-form-cont .label-above .nf-field-label label, #content .sharedaddy[class] .sd-button, h6, .h6, .c-author__footer, .comment__metadata, .reply a, .button, .entry-content .button, .c-btn, .c-comments-toggle__label, .c-card__action, button[type=button], button[type=reset], button[type=submit], input[type=button], input[type=submit], div.jetpack-recipe .jetpack-recipe-print[class] a, .entry-header .cats a, .entry-content .cats[class] > a, .meta__item--button, [id="subscribe-submit"], .featured-posts__more, .c-card__title, .c-card__letter, .c-meta__primary, .c-meta__secondary, .c-gallery--blog .c-card__excerpt, .loader-message {	
    	font-display: swap;
    }

    it would be easier if customify add just font-display: swap; to every font used.

    Plugin Author pixelgrade

    (@pixelgrade)

    Ok. Now I understand what you mean. I have opened an issue here about this: https://github.com/pixelgrade/customify/issues/221

    All the best,
    Vlad
    Pixelgrade

    Plugin Author pixelgrade

    (@pixelgrade)

    Hi,

    In the latest version of Customify (v2.9.0), we use font-display: swap.

    All the best,
    Vlad
    Pixelgrade

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Swap font’ is closed to new replies.