Site logo

Archived topic

Cannot change color of Update Cart button

3 replies · Started by Tim on August 8, 2021

Viewing posts 1–4 of 4

The color of my Update Cart button is grey, even though I've added this code:

.woocommerce button.button[name="update_cart"] {
    background-color: #000000 !important;
    color: #ffffff !important;
}

The code changed the text to white, but the background color won't change.

I want it to be black. Why is it not working?

Hi Tim,

Try to add this CSS to yours:
opacity: 1 !important;

Worked perfectly, thanks!

You are welcome :)

This archived topic is closed to new replies.