Home / Forums / WoodMart support forum / How can i change text color out of stock
Home › Forums › WoodMart support forum › How can i change text color out of stock
How can i change text color out of stock
- This topic has 9 replies, 2 voices, and was last updated 7 years, 4 months ago by
Elise Noromit.
-
AuthorPosts
-
June 21, 2018 at 8:59 am #64041
VincentesaParticipantHello 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.
June 21, 2018 at 9:50 am #64051
Elise NoromitMemberHello,
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
June 21, 2018 at 9:59 am #64053
VincentesaParticipantHello 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,
VincentJune 21, 2018 at 10:56 am #64067
Elise NoromitMemberHello,
Try this one:
.woocommerce div.product .out_of_stock_color { color: #ffffff; }Best Regards
June 21, 2018 at 11:21 am #64071
VincentesaParticipantNo luck yet.
Do you have something else?
Greets
June 21, 2018 at 11:31 am #64075
Elise NoromitMemberHello,
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
June 21, 2018 at 12:19 pm #64079
VincentesaParticipantHello,
Herby, Still no luck for me. Hope you can help me out.
Greets.
June 21, 2018 at 2:22 pm #64105
Elise NoromitMemberHello,
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
June 21, 2018 at 2:40 pm #64111
VincentesaParticipantHello,
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.
June 21, 2018 at 5:16 pm #64142
Elise NoromitMemberHello,
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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register