Shopify themes, liquid, logos, and UX
Hi,
I am trying to change the colour of the sold out button (on collection grid) but I can't figure out how to do it without changing the sale button as well.
I'd appreciate any help!
Dawn 11
Solved! Go to the solution
This is an accepted solution.
@Smeelah please follow this . in this case you changed just soldout color .
Hi @Smeelah
Check this one if it work,
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.badge.badge--bottom-left.color-scheme-4 {
Color: blue;
background: red;
}
.badge.badge--bottom-left.color-scheme-3 {
color: red;
background: blue;
}
And Save.
Example Result:
If wont's work would you mind provide the badge with sale.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi,
Thank you but that doesn't seem to be working. I have a sale item on the home page:
This is an accepted solution.
@Smeelah please follow this . in this case you changed just soldout color .
Thank you...I will do that as a last resort but I prefer to not change the default colour to the sold out colour.
@Smeelah you want to change color only for collection page?
Oh, I didn't understand! Such an easy option. Thank you!
@Smeelah welcome
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024