Hello,
I would like to change the color of the “Add to cart” button. However, this is only possible if the product is sold out. I would like red background with white lettering.
I dont want to change the size or something… only the color, and only when the item is “Sold Out”
Ray Ban Aviator 3025 – Maxi-Brillian (maxibrillian.com)
pw: deropa
@MaxiMaxi
Hello,
Please add code above in theme.liquid
button.product-form__submit[disabled="disabled] {
background: red!important;
}
i tried, but it´s not working
@MaxiMaxi
i can’t see the given code where you put that code.
Please add the code then inform me after that i can check why code are not working?
remove the previous code and add the below code
button.product-form__submit[disabled] {
background: red!important;
}