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
7 replies2 participantsUpdated 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
Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
Plants StoreFurniture
(live demo, opens in a new tab)
Marseille 03Fashion
(live demo, opens in a new tab)
BeautyBeauty
(live demo, opens in a new tab)
CarwashCars & bikes
(live demo, opens in a new tab)
Real EstateReal Estate
(live demo, opens in a new tab)
Flowers StoreBeauty
(live demo, opens in a new tab)
Baby ShopToys & games
(live demo, opens in a new tab)
Sport StoreSports & travel
(live demo, opens in a new tab)
Niche MarketMarketplace
(live demo, opens in a new tab)
Digital MarketingBusiness
(live demo, opens in a new tab)
Cosmetics StoreBeauty
(live demo, opens in a new tab)
Mobile StoreElectronics
(live demo, opens in a new tab)
Headphone StoreElectronics
(live demo, opens in a new tab)
Phone ServiceElectronics
(live demo, opens in a new tab)
Marseille04Fashion
(live demo, opens in a new tab)
Organic Cosmetics StoreBeauty
(live demo, opens in a new tab)