How can i remove the sale button but still keep the sold out button on product cards and collections?
Hi @MLBildeler
Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- 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;
}
-
And Save.
-
Result:
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 ![]()
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 ![]()
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!
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!
Thank you so much! ![]()



