Remove Sale button but keep sold out button

How can i remove the sale button but still keep the sold out button on product cards and collections?

1 Like

Hi @MLBildeler

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.badge.badge--bottom-left.color-scheme-4 {
    display: none;
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

That did not work :disappointed_face:

Replace on this one.

.card__inner .badge.badge--bottom-left.color-scheme-4 {
    display: none !important;
}

And Save.

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

That didn’t work either :disappointed_face:

Please, add the code on the theme editor. Custom css.

It seems like you have a problem on the base.css.

And Save.

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like

That worked, thank you so much. Is it possible to remove it from the product page as well?

Add this code same on the Custom Css where you add it.

.badge.price__badge-sale.color-scheme-4 {
    display: none;
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Thank you so much! :slightly_smiling_face: