Archived topic
Styling color of remove product in WooCommerce cart
4 replies · Started by Dominique on March 4, 2021
Hi,
I can't figure out how to style the color of the "remove product" in cart page.
There is a lot of !important in the CSS that I did not do.
I would like the "normal" color to be #e5e4e2 and the hover / active #f4da60
Please advise
To get "Notify me of follow-up replies via email"
Hi there,
Some of the CSS with the !important in their properties are baked into the woocommerce stylesheet file of the GP premium plugin but you still should be able to override this by adding !important AND being more specific on the selectors.
Example:
tr.woocommerce-cart-form__cart-item.cart_item td.product-remove a.remove {
color: #e5e4e2 !important;
background: green !important;
}
tr.woocommerce-cart-form__cart-item.cart_item td.product-remove a.remove:hover{
color: blue !important;
background: pink !important;
}
Adjust its values to your preference.
Hi,
Worked Great!
Aside the really weird colors :) All that was missing was a unicorn farting along a rainbow lol
Thanks
Ah right yeah you can change the color values to your preference.
No problem. Glad it worked for you. :)