Hello all, I’m wondering why the following isn’t working to change button color after click:
.button.product_type_bundle.add_to_cart_button {
color: #000000;
background-color: #ffc439;
}
.button.product_type_bundle.add_to_cart_button:active {
color: #000000;
background-color: grey;
}
Hi Yourbizgo
Thanks for posting your question.
Do you have a public URL where we can take a look at what’s going on?
Yes any add to cart button at kmshooting.com
Thanks for the link. We, unfortunately, aren’t able to assist much with Custom CSS within our free scope. We can assist within our premium support scope where we have the budget. Try locating your rule in Custom CSS
button.product_type_simple
. You’ve used !important there. You can try using !important in your rules targeting the other button states.Thanks for your help! It is working and I hadn’t even thought of adding the !important classification to those. Much appreciated!
Glad to hear you’re making progress :)
All the best with your site.
Cheers
Andrew