Changing color buttons - Plugin Cookie Notice

Hi! I would like to change the color of my cookie notice submit buttons.

I want change the buttons for this color: #d3c108

Could you help me with his, please?

Thanks.

Hello Sara,

Please share your site URL here.

Hi!


Thanks.

Here you go:

.cn-button.bootstrap {
    background-color: #d3c108;
    background-image: none;
    color: black;
}

Put the code into customize > additional CSS

Hi,

I have to add the code in the cookie notice plugin in the field nutton class? I already did that, but it did not change. What are you doing wrong?

Thank you.

Not in the nutton class. But in here:

OK. Thank you very much for your attention! :slight_smile:

Is it possible to change the blue color when the button is pressed? I want the gray color to appear when I press the button (# d3d3d3).

Thanks.

You can use this:

.cn-button.bootstrap:hover {
    background-color: #d3d3d3;
    color: black;
}

Thank you very much :slight_smile: