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!
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--salefor the badge background and.grid-product__price > span.moneyfor 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:boldfor 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.
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;
}
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;
}
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!
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>



