Support » Plugin: Complianz - GDPR/CCPA Cookie Consent » Possible issue with “–cmplz_category_open_icon_url”

  • Resolved techedge

    (@techedge83)


    Hi, I’m reporting a possible issue with css variable –cmplz_category_open_icon_url in generated banner-1-optin.css file. The variable sets the down arrow in the cookie banner (the arrow which opens the cookie category description) from an hardcoded url https://yoursite.com/wp-content/plugins/complianz-gdpr/assets/images/down.png.

    This means that when pushing a staging website to live (e.g. https://staging.yoursite.com to https://yoursite.com) the value is not updated because it is not in the wordpress database and the browser still tries to serve the old icon from the staging website (with issues if staging is cancelled o blocked behind a password).

    Actually it is possible to solve the problem by saving the cookie banner settings again (which will regenerate the css file), but maybe you should change the variable url from https://yoursite.com/wp-content/plugins/complianz-gdpr/assets/images/down.png to /wp-content/plugins/complianz-gdpr/assets/images/down.png to avoid any problem.

    Hope to be helpful. Thanks for your attention.

    • This topic was modified 2 months ago by techedge. Reason: Made urls as "code"
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.