Dawn theme, v15.0.0. How to remove the SOLD OUT badge from a single collection?

Page I am wanting to implement the changes on: https://rowsomeleather.com/collections/select-portfolio

I would like to remove the “sold out” badges from the images. I was successfully helped to do it on v14.0.0, but since updating to v15.0.0 this morning, I can’t get it to work - even after following the previous, successful instructions.

Please let me know how I can do it! TIA!

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Find this code

Replace it with
  1. Next find this code in same file and next to it add this code
.select-portfolio .card__badge {
    display: none;
}

Thanks

Hi @CyberCraft_11 ,

Thanks for the reply. Unfortunately this removes the badge from all collections. I only want it removed from a single collection, as stated in my title.

Hi @Guleria ,

Unfortunately I wasn’t able to find this code - only this variant

{{ 'accessibility.skip_to_text' | t }}

Try again:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Find this code

Replace it with
  1. Next find this code in same file and next to it add this code
.select-portfolio .card__badge {
    display: none;
}

Copy

Thanks

Sorry, still not working.

Last time, all I had to do was add this code to the end of the base.css file. . . Too bad its not so easy this time!

div#shopify-section-template--17263469658264__product-grid .card__badge.bottom.left {
    display: none;
}

There are different methods:
Needs same as previous then use tis one

.section-template--17407936692376__product-grid-padding .card__badge {
    display: none;
}
1 Like

YOU DID IT!! Thank you soooo much!!