support home

Back to website
Welcome
Login  Sign up

How can I change the cookie banner color and button text?

Hello everyone,

I am using the Iubenda cookie banner on my WordPress site.
I would like to change the banner background color to blue.
I also want to edit the “Accept” button text to say “Agree”.

I tried adding CSS in my theme’s style.css, but it did not work.
Can someone please show me the correct code or settings?

Thank you for your help!




2 people have this problem
  • Hi you can usually change the cookie banner’s color and button text via the iubenda dashboard, under the “Banner” or “Customisation” settings (rather than only via CSS). If you prefer CSS, try something like:

    .iubenda-banner { background-color: blue !important; } .iubenda-banner .iubenda-accept { color: #fff !important; content: "Agree" !important; }

    But keep in mind the precise class names might differ (you’ll need to inspect the HTML to find them). If that doesn’t work, contacting iubenda support or using their built-in customization tools is your best bet.

Login or Signup to post a comment