• On August 2nd Google Search Console dinged my site for having 23 URLs on mobile with Cumulative Layout Shift (CLS) scores of 0.52 on average (anything above like 0.01 is bad). On desktop those same URLs have CLSs of 0.23 (needs improvement) and largest contentful paint (LCP) times of 3.6 seconds (above the recommended 2.5s).

    I think the issue is the way fonts are loading, as when the page loads you’ll notice all the fonts show up big, and then are resized to much smaller. How can I prevent this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Since Google introduced the Cumulative Layout Shift (CLS) metric, my website, which uses the Hueman theme, does not pass the Core Web Vitals assessment (https://developers.google.com/speed/pagespeed/insights/) because the CLS is too high.

    For the record: I don’t use any plugins, the software is up-to-date, and my site is very light-weight and loads quickly. Still, according to Google the CLS is too high.

    PS: Testing Hueman’s demo site, https://demo-hueman.presscustomizr.com, on Google’s PageSpeed Insights yields a CLS score of 0.85 on Mobile and 1.5 on Desktop. Both are very poor.

    Supposedly it’s possible to diagnose what elements are causing CLS. I did some googling a few weeks ago and found a tip on this site:

    Performance panel in DevTools in Google Chrome illustrates layout changes in the Experience row. The “Layout Shift” summary view contains the total layout shift score as well as a rectangle overlay showing the affected regions.

    @aducknamedjoe: Maybe you can do the test and report your findings?

    When I did this on my site, Chrome indicated that the small area containing the Search button (<button class=”toggle-search”> etc.) in the upper right corner was the cause of the high CLS. I believe the code includes a reference to Font Awesome for displaying the search icon, so maybe there is something in the code or in the way Font Awesome is loaded that needs to be fixed by the theme author, @nikeo. By the way, enabling or disabling “Defer loading Font Awesome” in the settings apparently has no impact on CLS.

    A final note: https://layoutstability.rocks has a free and easy-to-use CLS Calculator, though the results differ from that of PageSpeed Insights.

Viewing 1 replies (of 1 total)
  • The topic ‘Cumulative Layout Shift (CLS) issue with Hueman fonts’ is closed to new replies.