This topic has 2 replies, 2 voices, and was last updated 6 years, 8 months ago ago by Rose Tyler
Hi.
To edit “add to cart” button for simple product on shop page, I use this CSS:
.add_to_cart_button {
color: white;
background-color: green;
border-color: green;
border-radius: 4px 4px 4px 4px !important;
}
What CSS should I use to make button for variable product look same like add to cart button for sipmle procucts?
Please see screenshot:
https://www.dropbox.com/s/s6b0g3vpemrmyj3/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202018-03-07%2014.14.29.png?dl=0
Hello,
You can add this code in custom css:
.btn.product_type_variable {
color: white;
background-color: green;
border-color: green;
border-radius: 4px 4px 4px 4px !important;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up