Title: Custom CSS
Last modified: August 30, 2016

---

# Custom CSS

 *  Resolved [pgallina](https://wordpress.org/support/users/pgallina/)
 * (@pgallina)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-122/)
 * hallo,
    I’m testing your plugin in local and I had a layout problem, depending
   on my theme.
 * To display correctly the box of the blocked contents I had to add the following
   CSS lines:
 *     ```
       .pea_cook_wrapper p {
           font-size: 13px !important;
       }
       .eucookie {
           padding: 10px !important;
           pointer-events: none !important; /* Makes box not linkable */
       }
       .eucookie span {
           padding: 0px !important;
       }
       ```
   
 * Will I have in a future release the possibility to add custom CSS directly through‘
   EU Cookie Law’ settings?
 * Thank you,
    Pier
 * [https://wordpress.org/plugins/eu-cookie-law/](https://wordpress.org/plugins/eu-cookie-law/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marco Milesi](https://wordpress.org/support/users/milmor/)
 * (@milmor)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-122/#post-6277705)
 * Hi,
    if you are using `!important` it means that something (=your theme) is overriding
   the plugin rules.
 * If you want to add some css i suggest you to use something like this [wordpress.org/plugins/simple-custom-css/](https://wordpress.org/plugins/simple-custom-css/)
   or create a child theme.
 * I don’t exclude to include that function in the plugin in the future, but at 
   the moment i think that “Keep it simple” (and light) could be better 🙂
 * Regards
    MM

Viewing 1 replies (of 1 total)

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

 * ![](https://s.w.org/plugins/geopattern-icon/eu-cookie-law_39293e.svg)
 * [EU Cookie Law for GDPR/CCPA](https://wordpress.org/plugins/eu-cookie-law/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eu-cookie-law/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eu-cookie-law/)
 * [Active Topics](https://wordpress.org/support/plugin/eu-cookie-law/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eu-cookie-law/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eu-cookie-law/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marco Milesi](https://wordpress.org/support/users/milmor/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/custom-css-122/#post-6277705)
 * Status: resolved