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
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024