This topic has 8 replies, 2 voices, and was last updated 3 years, 10 months ago ago by Olga Barlow
Hello how can i show in the single product page the ”OUT OF STOCK” badge?
It is only show in the shop page.
Also how can i translate it to Greek? (ΕΞΑΝΤΛΗΜΕΝΟ)
Thanks in advance
Hello,
We added custom CSS to display it on the single product page over the product image.
.single-product .label-product .out-stock {
display: block;
left: 20px;
}
Label translated, check now.
Regards
Dear Olga thank you very much.
Sorry i forgot it in my previous message, is it possible to change the Color to RED?
Thanks again for your help
Hello,
Do you mean text color or bg color? Do you want to change it only on the single product or also at the shop page?
Regards
Hello
you are right, i want the BG color in the single product pages and also at the shop pages.
Thanks
Hello,
Add the below custom
.out-stock {
background: red;
width: auto;
border-radius: 0;
height: auto;
margin: 0;
transform: translate(-50%, -50%);
}
.out-stock .wr-c {
margin: 10px;
color: #fff;
border-top-color: #ffffff82;
border-bottom-color: #ffffff82;
}
Regards
Dear Olga i added the code but ONLY in the Single Product page the badge is OK.
In the Home page and in the Category Page is out of the picture, please take a look at the screen prints.
https://prnt.sc/z2tdeh
https://prnt.sc/z2tk48
Thank you
Hello,
Check now.
Regards
You must be logged in to reply to this topic.Log in/Sign up