• Resolved RobotFX

    (@wattaman)


    This is what I have in the header (notice the display=swap):

    <noscript><link rel='stylesheet'  media='all' /></noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,500,600,700&subset=latin,cyrillic-ext&display=swap" media="not all" data-media="all" onload="this.media=this.dataset.media; delete this.dataset.media; this.removeAttribute( 'onload' );" />

    The Jetpack generated critical CSS (jetpack-boost-critical-css) does not contain the swap though:

    @charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,500,600,700&subset=latin,cyrillic-ext);

    Any idea how to fix it? Or is it normal

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @wattaman,

    Based on your message, it seems that you are encountering an issue where the display=swap parameter for Google Fonts is not being included in the Jetpack Boost generated critical CSS.

    This could be due to the way Jetpack Boost processes Google Fonts when generating critical CSS. To examine this further, could you please post your site URL here so that we can have a look? If you want it to remain private, you can also contact us via contact form. If you choose to reach out directly, please include a link to this thread.

    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @wattaman,

    It’s been one week since this topic was last updated. I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with Google fonts and display swap’ is closed to new replies.