How can i change text color out of stock
-
Hello is there an CCS code or option how i can change the color of out of sale. This is for product grid and on product detail page. I send some attachments so you can see. I write the text in dutch ”Tijdelijk niet leverbaar” what means out off stock.
Links to pages:
https://gecona.nl/product/waterpijp-pumpkin23cm-rood/
https://gecona.nl/product/adalyalove-66/
Can you help me white this?
Greet.
Hello,
This is possible to do with CSS, please add this code to Theme Settings > Custom CSS
.woocommerce div.product .out_of_stock_color {
color: c;
}
Please replace this color #c6c6c6 with that one you need.
Best Regards
Hello Elise,
It does not change the colors of the text.
This is what i did.
.woocommerce div.product .out_of_stock_color {
color: #ffffff
}
Is this correct?
Greets,
Vincent
Hello,
Try this one:
.woocommerce div.product .out_of_stock_color {
color: #ffffff;
}
Best Regards
No luck yet.
Do you have something else?
Greets
Hello,
Please try this one
.product-image-summary .stock, .variations_form .stock {
color: yellow;
}
If the code does not work, please provide your site admin access.
Best Regards
Hello,
Herby, Still no luck for me. Hope you can help me out.
Greets.
Hello,
Your CSS has errors that is why code added after is not workable. Please check code on lines 15-18, replace the color as per your needs. Correct your errors in CSS.
Best Regards
Hello,
Im realy glad for help. It works now. What can i do about the errors? Because all of the CSS codes i get from you guys. Can you help me to solve this?
Greets.
Hello,
The CSS code provided by our guys do not contain any errors nevermind I will help you however you have modified the Dashboard I cannot see the Theme settings http://prntscr.com/jxpa4m
If you have installed any plugins deactivate them.
Best Regards