Home › Forums › Support › Change color of ad to cart only This topic has 3 replies, 3 voices, and was last updated 6 years, 11 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts November 21, 2017 at 6:46 pm #430322 Edwin Can you tell me if you know the CSS to change the background-color for “add to cart only?” Thanks Edwin November 21, 2017 at 9:08 pm #430377 TomLead Developer Lead Developer Hi there, Try this: .woocommerce a.button.add_to_cart_button { background-color: #222; } November 21, 2017 at 9:28 pm #430388 Edwin Thanks Tom That worked. What about rollover. I tried this: .woocommerce a.button.add_to_cart_button a:hover{ background-color: #ccccccc!important; } November 21, 2017 at 10:21 pm #430400 LeoStaff Customer Support Hmm this should work: .woocommerce a.button.add_to_cart_button:hover { background-color: #ffffff; } Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In