Change design of sold out badge on product page?

Change design of sold out badge on product page?

KimGottwald
Trailblazer
235 0 34

I would like to change the design of the sold out bade on the product page.


Thank you!

 

URL: https://suq5b8csct01fyzg-61270851797.shopifypreview.com/collections/rappid-test

 

Im using the Trade theme. 

Bildschirmfoto 2024-07-12 um 11.47.58 PM.png

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
10133 2404 3038

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.

 

span.badge.price__badge-sold-out.color-scheme-3 {
     border-radius: 2px !important;
    background: lightgray;
    color: darkslategray;
}

 

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

     

 

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.