Comments Fernando started the conversationJuly 11, 2022 at 9:33pmHi, I'm trying to remove out of stock label on the product page but somehow I can't do that using CSS. I tried this CSS: p.stock.out-of-stock { display: none; } Could you help me with that? Thank you so much![deleted] repliedJuly 12, 2022 at 6:38amHi Fernando, You have not added your site URL but please add the code below to your Custom CSS area:= .woocommerce .product .onsale.oos { display: none; } It should remove the Out of stock badge.If it doesn't work, then you can add the !important rule, see the example: .woocommerce .product .onsale.oos { display: none !important; }Have a nice day! Sign in to reply ...
Hi, I'm trying to remove out of stock label on the product page but somehow I can't do that using CSS.
I tried this CSS:
Could you help me with that?
Thank you so much!
Hi Fernando,
You have not added your site URL but please add the code below to your Custom CSS area:=
It should remove the Out of stock badge.
If it doesn't work, then you can add the !important rule, see the example:
Have a nice day!