How to edit sold out and on sale badge?

Solved

How to edit sold out and on sale badge?

KimGottwald
Trailblazer
196 0 28

Does someone know how to change the design of the sold out and sale badge?

 

I would like to make the sold out badge not as rounded and more angular + to the color black (background) and white text.

 

And is there a way to remove the Sale badge?


Thank you!

 

URL: https://suq5b8csct01fyzg-61270851797.shopifypreview.com/collections/rappid-test?sort_by=price-descen...

 

Im using the Trade theme.

 

Picture: 

Bildschirmfoto 2024-07-12 um 6.28.24 PM.png

 o 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
7106 1688 2082

This is an accepted solution.

Hi @KimGottwald 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

/* sold-out badge */
.badge--bottom-left.color-scheme-3 {
    border-radius: 10px !important;
    background: black;
    color: white;
}
/* sale badge */
.badge--bottom-left.color-scheme-5 {
    display: none;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1720818824931.png

    I add some note so you wont confuse. 

 

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.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
7106 1688 2082

This is an accepted solution.

Hi @KimGottwald 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

/* sold-out badge */
.badge--bottom-left.color-scheme-3 {
    border-radius: 10px !important;
    background: black;
    color: white;
}
/* sale badge */
.badge--bottom-left.color-scheme-5 {
    display: none;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1720818824931.png

    I add some note so you wont confuse. 

 

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.
KimGottwald
Trailblazer
196 0 28

Thank you, is it also possible to move the sold out badge to the top left?

 

And to do exactly the same with the bade on product page?

 

Bildschirmfoto 2024-07-12 um 11.27.58 PM.png