Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

CLS fail

  • PaperMoonMedia

    Hi there,

    My website fails Google’s ‘Page Experience Check’.

    Only on Desktop I have a poor CLS score (0,57) – I used on of the default templates and adjusted it. Somehow I made an error. But I can’t see where.

    Below is a screenshot of the ‘error’ Google gave me

    https://postimg.cc/v4gmXkj6

    Help..

  • Hi there,

    in your screenshot it provides a list of causes for the CLS.
    Primarily font loading and CSS loading after the page has rendered.

    This generally happens if the Fonts are set to Display Swap, and there are some CSS optimiztions happening that defers loading of CSS.

    If you can share a link to your site, i can take a look for the main causes.

  • PaperMoonMedia

    Yes offcourse I added it in the private information.

  • PaperMoonMedia

    Hi David, did you find anything yet?

  • Sorry, your last reply slipped through our system.
    Theres quite a few issues to address.
    I would begin with the Fonts as thats a primary cause of the CLS

    Load the fonts locally, this doc explains how:
    https://docs.generatepress.com/article/adding-local-fonts/

    once added locally you can:
    1) in Customizer > Typgoraphy > Font Manager,
    1.1 make sure the Disable Google Fonts is set to auto
    1.2 edit each font that GP is loading and uncheck the Use Google Font API.

    2) in GenerateBlocks > Settings check the Disable Google Fonts

    3) check with WP Rocket to make sure its optimizations are NOT setting the font display to swap.

    4) clear any caches.

    The ultimate goal here is to load the fonts faster by eliminating the google font requests, and to disable the font display swap that WP Rocket is adding, which results in the page being loaded first with the browser system fonts then the layout shift as the browser re-renders the page when the actual fonts are loaded.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.