What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: 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
6370 1725 2088

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!

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


Made4uo-Ribe
Shopify Partner
9186 2191 2708

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

Rahul_dhiman
Shopify Partner
668 131 136

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

Was I helpful?

Buy me a coffee


Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639

Checkout Apps by me

Dan-From-Ryviu
Shopify Partner
10344 2054 2137

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 and Accept solution! Or Support me: Buy Coffee
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.