How to add custom styles to cookie consent banner?

How to add custom styles to cookie consent banner?

Written by NelsonLast update 5 months ago

CookieScript has plenty of customization options available, like custom colors and different design options. You can also disable or hide any part of the cookie consent banner. However, in some cases, this is not enough and more customization is needed. Sometimes users want to have some very special styling, like custom typography or border styles. 

This is exactly why we have introduced a custom CSS styling option. Go to your CookieScript user account > Settings > Design, where you will find the CUSTOM CSS STYLES box.

In short, it does exactly what you expect it to do: it allows users to add custom CSS styling to the existing styles of cookie consent popup. Just fill in the necessary styles and they will be included in the generated source code of the cookie consent banner.

Note: Custom styles are included at the end of all styles, which allows you to overwrite default CookieScript styles. 

Did this answer your question?