Re: How to change the sold out button?

Solved

How to change the sold out button?

Smeelah
Navigator
373 1 111

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
297 26 32

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
9593 2285 2835

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Smeelah
Navigator
373 1 111

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
297 26 32

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
373 1 111

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
297 26 32

@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
373 1 111

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

mrashid
Shopify Partner
297 26 32

@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