Box-shadow is now a setting under Cookie banner settings – Appearance
The standard templates and the Custom CSS possibilities make it possible to design your Cookie Notice to suit the style of your website. We will start a weekly lesson on how to add design elements to your Cookie Notice using Custom CSS. Do you want to try it yourself? Visit https://www.w3schools.com/cssref/ for an extensive overview of CSS properties.
You can add Custom CSS in our editor, in your theme’s Custom CSS editor or any plugin that provides CSS control. Because every WordPress website is different we will work with the addition of !important to override any CSS currently loaded on your webpage.
Lesson#2: Adding Box-Shadow to your Cookie Notice
The box-shadow is a great way to put depth on your cookie banner. Complianz comes with a minimal template that adds the box-shadow by default, but if you want to change or add it to another template you will need the following CSS properties:
For the below banner, we used the following CSS properties:
.cmplz-cookiebanner { to add shadow to the entire window (box) }