How to make the promo price and the Sale badge red in the product grid?

Topic summary

A user wants to change the promo price and ā€œSALEā€ badge to red in their Shopify product grid, with the ā€œSALEā€ text in bold.

Multiple CSS Solutions Offered:

  • Several participants provided CSS code snippets targeting .grid-product__tag--sale for the badge background and .grid-product__price > span.money for the price color
  • Suggested placement locations varied: Custom CSS section, theme.css file, base.css file, or theme.liquid file
  • One solution included font-weight:bold for the badge text

Implementation Issues:

  • Initial solutions didn’t work for the user
  • One helper discovered the theme.css file became corrupted, preventing added code from functioning
  • Alternative placement recommended: either Custom CSS in Theme settings or directly in theme.liquid before </head> tag

Current Status:
The discussion remains open with troubleshooting ongoing. The corrupted theme.css file appears to be the main obstacle, with workarounds suggested but not yet confirmed as successful.

Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

I want to make the promo price in the product grid red color and also the sale badge. Also the letter sale should be Bold. How can we do that? Thanks!

Hello @Jim3 ,

I hope you are doing well!

Can you please provide the store URL so that we can change the color to red?

thank you

You can add this code to Custom CSS and check again

.grid-product__tag--sale {
    background-color: red !important;
}
.grid-product__price > span.money {
    color: red;
}

Best regards,

Dan from Ryviu: Product Reviews App

Hi @Jim3,

Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

.grid-product__price--original + span + .money {
    color: #ff0000;
}
.grid-product__tag--sale {
    background-color: #ff0000;
}

If I helped you, then a Like would be truly appreciated.

@namphan Unfortunately this didn’t workout

@Dan-From-Ryviu Unfortunately it didn’t workout to me

Hi @Jim3 ,
Go to Online Store > Themes > Actions > Edit Code > base.css Add below code at the bottom of base.css file

.collection-grid__wrapper .grid-product__tag.grid-product__tag--sale {
    background-color: red !important;
}
.collection-grid__wrapper .grid-product__price > span.money {
    color: red !important;
}

1 Like

Try this – should be ok in ā€œCustom CSSā€, in ā€œTheme settingsā€

.grid-product__tag--sale {
  --colorSaleTag: red; 
  font-weight:bold;
}
.grid-product__price--original ~ .money {
  color: red;
}
1 Like

Hi @Jim3,

You should watch this video Youtube it will help with your problem.
If this video solves your problem, then please mark my comment as the solution.

Thanks!

1 Like

Hi @Jim3,

I checked and now the theme.css file is corrupted, so the added code won’t work.

You can add the code at: Customize > Theme settings > Custom CSS or please go to layout > theme.liquid file, find ā€˜ā€˜ and add code here:

Code:

<style>
      .grid-product__price--original + span + .money {
          color: #ff0000;
      }
      .grid-product__tag--sale {
          background-color: #ff0000;
      }
    </style>