How to change the sold out button?

Solved

How to change the sold out button?

Smeelah
Navigator
356 1 98

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

leilacools.com 

Accepted Solution (1)

mrashid
Shopify Partner
178 20 18

This is an accepted solution.

@Smeelah please follow this . in this case you changed just soldout color . 

mrashid_0-1725307393657.png

 

- Need a Shopify developer? Chat on WhatsApp +923068683199
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

View solution in original post

Replies 7 (7)

Made4uo-Ribe
Shopify Partner
7617 1833 2245

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:

Made4uoRibe_0-1725307186993.png

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!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
Smeelah
Navigator
356 1 98

Hi,

Thank you but that doesn't seem to be working. I have a sale item on the home page:

Screen Shot 2024-09-02 at 4.32.57 PM.png

 

mrashid
Shopify Partner
178 20 18

This is an accepted solution.

@Smeelah please follow this . in this case you changed just soldout color . 

mrashid_0-1725307393657.png

 

- Need a Shopify developer? Chat on WhatsApp +923068683199
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Smeelah
Navigator
356 1 98

Thank you...I will do that as a last resort but I prefer to not change the default colour to the sold out colour.

mrashid
Shopify Partner
178 20 18

@Smeelah you want to change color only for collection page?

- Need a Shopify developer? Chat on WhatsApp +923068683199
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Smeelah
Navigator
356 1 98

Oh, I didn't understand! Such an easy option. Thank you!

mrashid
Shopify Partner
178 20 18

@Smeelah welcome

- Need a Shopify developer? Chat on WhatsApp +923068683199
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution