Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1484733

    WP Rocket is installed on my client’s site and it’s causing the theme included Cookie Consent bar to not display.

    Can you please provide the JS file and path for the Cookie Consent bar to exclude from the WP Rocket settings?

    Thanks!

    #1484807

    Hey krisknap,

    Thank you for the inquiry.

    Have you tried to toggle or temporarily disable the Enfold > Performance > File Compression settings?
    Please provide the site URL and login details in the private field so we can check the issue further.

    The script below is responsible for the cookie consent behavior and functions.

    — enfold/js/avia-snippet-cookieconsent.min.js
    — enfold/js/avia-snippet-cookieconsent.js

    Best regards,
    Ismael

    #1486611

    Adding the below file paths to the “Excluded” files for the JS Delay and JS Deferred in the WP Rocket settings did not work.

    — enfold/js/avia-snippet-cookieconsent.min.js
    — enfold/js/avia-snippet-cookieconsent.js

    I will need to clone the live site to staging to test disabling the Enfold > Performance > File Compression settings. If I try that and it doesn’t work, I will provide temp login details for staging so you can troubleshoot.

    Thanks!

    #1486626

    Hi,
    Please also note that some browser “AD Blockers” also block the cookie consent, perhaps that is your issue.

    Best regards,
    Mike

    #1486888
    This reply has been marked as private.
    #1486906

    Hi,

    Thank you for the update.

    The cookie consent wrap is hidden on both sites when we checked. The browser seems to be creating a css rule that hides the cookie consent elements.

    .avia-cookie-consent-wrap {
        display: none !important;
    }
    

    We tried overriding it but it doesn’t work.

    .avia-cookie-consent-wrap {
        display: block !important;
    }
    

    The issue doesn’t occur on our own installation, so it’s probably caused by a plugin or a custom modification.

    View post on imgur.com

    We may need to login to the site to further investigate the issue.

    Best regards,
    Ismael

    #1486989
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.