So I’m using the pipeline theme. Its a bit strange as far a themes go, the colors for add to cart outline, sales badges, and sale price are all tied to one color setting, [Primary accents]
What I need is a way to overwrite to a red color, for both the sales badge, and sale price, without affecting the add to cart outline preferably in a CSS code.
If someone could also provide code to change the Sale badge text so i can just have it say [33% OFF]
Instead of the [. SAVE 33%] , id really appreciate that aswell,
Thank you.
Site: Lancastor.com
Example:
To change the color of the sales badge and sale price to red without affecting the add-to-cart outline, and to modify the sale badge text, you can add some custom CSS. Here’s what to do:
/* Change sale badge and sale price color to red */
.sale-badge, .product__price--sale {
color: red !important;
}
/* Change the sale badge text to say 33% OFF */
.sale-badge::after {
content: "33% OFF" !important;
}
i hope this helps!
Hi @Carinjable ,
This is Polo from MS Web Designer.
I would love to assist you with your concern.
Here is the solution:
Please add this code in theme.css at the bottom of this file
/* Change sale badge and sale price color to red */
.sale-badge, .product__price--sale {
color: red !important;
}
/* Change the sale badge text to say 33% OFF */
.sale-badge::after {
content: "33% OFF" !important;
}
If you have any doubt, please let me know.
Regards
Anni