Support » Plugin: Complianz - GDPR/CCPA Cookie Consent » Hardcoded CSS

  • Resolved lennilg

    (@lennilg)


    First off, nice plugin – much needed addition to any Web shop.

    I took notice that after a recent update, the plugin now has hard-coded style sheet properties that made the cookie consent banner exceed the boundaries of the screen caused by a hard-coded min-width property which exceeds the screen width on most smartphones.

    The code in question is as following:

    <style type=”text/css”>#cc-window.cc-window .cc-compliance .cc-btn.cc-dismiss{color:#ffffff;background-color:#b8c100;border-color:#b8c100}#cc-window.cc-window .cc-compliance .cc-btn.cc-dismiss:hover{background-color:#dee726}#cc-window.cc-floating {min-width:476px;}</style>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Aert

    (@aahulsebos)

    Hi @lennilg,

    You can adjust the min-width under Cookie Banner settings. Am I right in saying you’re using a Accept/Deny banner?

    regards Aert

    lennilg

    (@lennilg)

    Thanks @aahulsebos

    That did the trick. Still, having the min-width by default, wider than most mobilephones, seems .. untested. Now resolved by using the suggestion you provided.

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