Title: Hardcoded CSS
Last modified: September 18, 2020

---

# Hardcoded CSS

 *  Resolved [Lenni](https://wordpress.org/support/users/lennilg/)
 * (@lennilg)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/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>

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/hardcoded-css/#post-13423054)
 * Hi [@lennilg](https://wordpress.org/support/users/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
 *  Thread Starter [Lenni](https://wordpress.org/support/users/lennilg/)
 * (@lennilg)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/hardcoded-css/#post-13431875)
 * Thanks [@aahulsebos](https://wordpress.org/support/users/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)

The topic ‘Hardcoded CSS’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [display-error](https://wordpress.org/support/topic-tag/display-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [Lenni](https://wordpress.org/support/users/lennilg/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/hardcoded-css/#post-13431875)
 * Status: resolved