hiya, i am trying to change the Sale text colour inside the badge on the collection pages, and also the sale price colour. i have been through the threads but none of the codings are working for me.
@Unfurl can you please share this page link?
Hi @Unfurl
Could you share your store URL so I can check and give you the code to do that?
@Unfurl - please add this css to the very end of your stylesheet.css file and check,
Shopify Admin → Online Store ->Theme → Edit code → stylesheet.css
.sale-item {color: #000000;}
.price-item--sale {color: #000000;}
@Unfurl ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above
Result:
If it helps you, please like and mark it as the solution.
Best Regards ![]()
Hi @Unfurl , thank you for posting here!
You can follow the instruction below:
- Go to Online Store->Theme->Edit code
- Asset->/base.css->paste the below code at the bottom of the file:
.price--on-sale .price-item--regular {
background-color: [the hex code color you want to change];
}
.product-item__badge.product-item__badge--sale {
background-color: [the hex code color you want to change];
}
After adding the custom CSS, click the “Save” button at the top-right corner of the code editor.
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
thankyou so much that worked!


