Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @toutpourmasante,

    Currently, the consent message is added inside the <div> tag and that might be the reason for the large LCP. You can add the consent message inside a <p> tag as a workaround. To edit it go to GDPR Cookie Consent > Settings > Customize cookie bar > Message text.

    Please see the example below

    <div class="cli-bar-container cli-style-v2"><div class="cli-bar-message"><p>We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking "Accept", you consent to the use of ALL the cookies.</p></div><div class="cli-bar-btn_container">[cookie_settings margin="0px 10px 0px 5px"][cookie_button]</div></div>

    Thread Starter toutpourmasante

    (@toutpourmasante)

    Thanks for your answer.
    It didn’t help me to solve my problem.
    Instead I used a code from this page : https://www.ads-software.com/support/topic/banner-load-delay/

    This allowed me to ensure that the banner is no longer the LCP

    Thanks for your time

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page speed LCP’ is closed to new replies.