Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Cumulative Layout Shift and font display and preloading

Home / Forums / Kadence Theme / Cumulative Layout Shift and font display and preloading

This topic is: Not a support question
[Not a support question]
Posted in: Kadence Theme
December 28, 2020 at 3:19 am

Hello Kadence Team 😉

We are using your theme (child theme) for our new website and we want to reduce to minimum the new core vital “CLS”

In order to avoid CLS with fonts, i read that you must add a font’s preloading and property “font-display: optionnal”

I choose to run fonts localy (using option in Kadence theme) and add this code in Appareance > Kadence > Elements :

<link rel="preload" href=" as="font" type="font/woff2" crossorigin="anonymous">

Now i have 2 issues:

– Pagespeed insights display this message: “Ensure text remains visible during webfont load”
– How i can add/modify the argument “font-display” in the font-face property calling the specific font?

Thank you for your support
Richard

  • The forum ‘Kadence Theme’ is closed to new topics and replies.