Title: CLS Issues
Last modified: July 27, 2020

---

# CLS Issues

 *  [kw11](https://wordpress.org/support/users/kw11/)
 * (@kw11)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cls-issues/)
 * With the new Google Core Web Vitals, Cumulative Layout Shift is a problem with
   this plugin.
 * According the web.dev, “all of these values (except optional) can cause a re-
   layout in one of the above ways.”
 * So it looks like font-display: optional may help these scores? If this slows 
   down page loads speed some maybe there should be a toggle for “Improve Cumulative
   Layout Shift (CLS)”
 * Images without dimensions and ads without dimensions can also be a problem for
   CLS.
 * My LCP scores are a little low too and not sure if that’s anything you can fix
   on your end.
 * [https://web.dev/optimize-cls/](https://web.dev/optimize-cls/)
    [https://web.dev/vitals/](https://web.dev/vitals/)
 * Thank you,
    Kyle

Viewing 1 replies (of 1 total)

 *  Plugin Author [Albert Peschar](https://wordpress.org/support/users/kiboit/)
 * (@kiboit)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cls-issues/#post-13178627)
 * Hi [@kw11](https://wordpress.org/support/users/kw11/),
 * If I understand correctly `font-display: optional` will cause the font not to
   display if it isn’t loaded very quickly. As that would break most people’s expectations,
   I’m not convinced it’s a good idea to add this to the plugin.
 * But as web fonts are only one of the mentioned possible causes of relayouting,
   I’m not sure that this is actually what is triggering the issue on your site.
 * Usually it is due to certain parts of the page being rendered by JavaScript. 
   And because PhastPress delays JavaScript execution so that the page can be rendered
   as quickly as possible, that can cause layout shift. This should still not lower
   your PageSpeed Insights score as compared to not using PhastPress, as the First
   Contentful Paint should be much earlier.
 * You could try loading your page with throttling set to 2G or 3G in dev tools.
   Then you can see where the layout shift happens exactly. If you can make sure
   those parts are rendered correctly using only HTML and CSS and don’t depend on
   scripts, that will help. If there is really nothing shifting except for the web
   fonts, try removing the web fonts temporarily and seeing if that changes the 
   result.
 * –Albert

Viewing 1 replies (of 1 total)

The topic ‘CLS Issues’ is closed to new replies.

 * ![](https://ps.w.org/phastpress/assets/icon-256x256.png?rev=1873505)
 * [PhastPress](https://wordpress.org/plugins/phastpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/phastpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/phastpress/)
 * [Active Topics](https://wordpress.org/support/plugin/phastpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/phastpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/phastpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Albert Peschar](https://wordpress.org/support/users/kiboit/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/cls-issues/#post-13178627)
 * Status: not resolved