How can I change the sold out badge color on my craft theme product image?

How can I change the sold out badge color on my craft theme product image?

armybabe2002us
Visitor
3 0 0

Hello there! On my product image when an item is sold out the font is white and I need it to be black. Is there a code to change it to black? I have tried everything in my website editor with no success. Thank you!

 

URL: https://northcountryfluff.com/

Replies 4 (4)

SomeUsernameHe
Shopify Partner
519 58 113

Yes! You can use the following css in your theme

span#NoMediaStandardBadge-template--16404103069888__main-collection-product-grid-6755950264512 {
    color: #000;
}

If you are unsure where to add it, I would check your theme customizer for a "Custom CSS" setting. 


Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
armybabe2002us
Visitor
3 0 0

I went under asset and base css but it didn't work. There wasn't any "custom" section. and nothing under theme.liquid. Any other suggestions?

SomeUsernameHe
Shopify Partner
519 58 113

Sorry, I missed your notification. Did you ever get this to work?

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
armybabe2002us
Visitor
3 0 0

I did not get it to work.