Removing sale badge collection page

Removing sale badge collection page

Nienke_pr
Excursionist
28 0 5

Hello,

 

does anyone have a code to remove the sale badge on the collection page? I use dawn theme

 

miyucollective.com

Replies 4 (4)

Moeed
Shopify Partner
7379 1996 2438

Hey @Nienke_pr 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

{% if template contains 'collection' %}
<style>
.card__badge {
    display: none !important;
}
</style>
{% endif %}

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Made4uo-Ribe
Shopify Partner
10133 2404 3038

Hi @Nienke_pr 

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:

 

div#ProductGridContainer .card__badge.bottom.left {
    display: none;
}

 

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

     

 

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

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.

Rahul_dhiman
Shopify Partner
809 155 169

Hello @Nienke_pr 
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.

.card__badge.bottom.left {
display: none !important;
}

result
12.png

If this was helpful, hit the like button and accept the solution.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

Dan-From-Ryviu
Shopify Partner
11626 2277 2459

Hi @Nienke_pr 

You can add this code to Custom CSS in Online Store > Themes > Customize > Theme settings to remove sale badge.

.card__badge { display: none !important; }

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.