Hardcoded CSS
-
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>
The topic ‘Hardcoded CSS’ is closed to new replies.