Shopify themes, liquid, logos, and UX
Hello!
I'm looking to change the colour of the "sold out" badge, both on product pictures when inside collections, and the one thats on the product page.
https://hundben.se/products/kerotugg-notrulle-premium-ca-20cm-o2-5cm?_pos=1&_sid=5f168ffe5&_ss=r
And on collection pages:
https://hundben.se/collections/kerotugg-tuggben
The black "Tillfäligt slutsåld" is what i wanna change in both of these places.
Anyone able to take a look? 🙂
//Gabriel
Www.hundben.se
Hey @Lilboris
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.
<style>
.product .price .badge {
background: #5B7E0A !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey,
Thanks for a quick respone.
It worked flaweless on the product page, but it seems to still be black on collection pages, any idea how to fix that aswell?
You able to help me here? 🙂
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025