Site logo

[Support request] CLS & Slow LCP Issue In Search Console

Home Forums Support [Support request] CLS & Slow LCP Issue In Search Console

Home Forums Support CLS & Slow LCP Issue In Search Console

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2398619
    Gary

    Hi,

    I’m struggling with a new CLS issue in Search Console.

    I can’t work out where the issue is coming from as there are no new elements on the page.

    Any advice or help on this would be massively appreciated!

    #2398667
    David
    Staff
    Customer Support

    Hi there,

    try disabling any cache / optimization plugins first, then re-test your site.
    if the issue persists, leave them disabled and let me know.

    #2454361
    Gary

    Hi,

    I’ve finally got round to picking this back up this week and I can’t work out what the issue is. I’ve disabled everything cache/optimization related and will leave you to take a look.

    I really appreciate the help on this!

    #2454532
    David
    Staff
    Customer Support

    Looking at CLS first.
    See here:
    https://www.webpagetest.org/vitals.php?test=221208_BiDcDS_8XR&run=1

    2 issues:

    1. The email protector is changing the HTML. I am not sure how that function is added to the site.

    2. You have Perfmatters loading the fonts for you, and in its settings its using: font-display: swap;

    https://perfmatters.io/docs/font-display-swap/

    Disable that option as it allows the browser to load a system font first, and then when the actual font loads it occupies a different amount of space which cause layout shift.

    See if you can fix those and we can then take a look at LCP

    #2454539
    Gary

    Ok, so I’ve switched off the font swap, but there’s no way to change settings on the email plugin (and it’s crucial for getting the enquiries through).

    Would it be ok to take a look with it on-site? I can look to remove at some point, but have a couple of things going on that mean I can’t do it now.

    Sorry to be difficult, I’m just really keen to get this resolved but have no option but to go offline for a few hours now.

    #2454571
    David
    Staff
    Customer Support

    For the email issue, check with the plugin author if its possible to change the [email protected] text, and if so, add some extra characters to make it the same length as the actual email, then it should not shift.

    The alternative to that is to add some CSS, at around 404px is where there isn’t enough room for the email and telephone on one line. So you can use this to force the [email protected] text to a new line. So it won’t cause a shift.

    
    @media(max-width: 404px ) {
        .__cf_email__{
            display: block !important;
        }
    }
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.