Cookie Button Decline Backgroundcolor Change

Hello all,

I have a question about the appearance of the cookie banner.

I would very much like to change the background color of the “Decline” button. Unfortunately, in HubSpot’s settings I can only customize the “Accept” button.
How can I change the appearance of the “Decline” button in HubSpot?

I would be very grateful for any help.
Martin

Hi @MBaars ,

If you can add CSS to your website, try the following:

div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-decline-button {
 background-color: #000 !important; // Change this color code for the background color
 color: #fff !important // Change this color code for the text color
}

Hi Teun,
wow, thank you very much, its works!