Change color of out of stock button
-
Hi, we are using the following code to change the out of stock (Read more) button color:
.woocommerce ul.products li.product.outofstock .button {
background-color: #FF0000 !important;
}
For some reason this is only displayed correctly on our Shop page but not on any custom page with a product gallery (Woocommerce Blocks).
Shop page displaying out of stock button in red: https://snipboard.io/29MtEF.jpg
Custom page with the same product but not showing the red button as needed: https://snipboard.io/JEGOsy.jpg
Could you please advise how to apply the css to the content inside the blocks? Thank you!
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Change color of out of stock button’ is closed to new replies.