windef
1
Hello, on the product page i’ve got black text “25% Best deal!” text which i want to be in white and i can’t figure it out on how to do it
And here i have the sale badge in white and text in black how could i change the background color to red and the text white and bold?
Could anyone please assist me on this?
Hello @windef
I would like to give you a solution to support you:
- Go to Online Store-> Theme-> Edit code
- Open your theme.liquid theme file
- Paste the below code before :
<style>
.badge.price__badge-sale.color-background-2 {
color: white !important;
}
</style>
Was my reply helpful? Please Like and Accept Solution. This mean alot to me.
Hello @windef
It’s GemPages support team and glad to support you today.
I would like to give you a solution to support you.
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid theme file.
-
Paste the below code before :
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
1 Like
I would like to give you a solution to support you:
- Go to Online Store-> Theme-> Edit code
- Open your base.css theme file
- Paste the code in bottom of file
.product__info-wrapper span.badge.price__badge-sale.color-background-2 {
color: #fff !important;
}
The first question:
.price .price__badge-sale{
color:#fff !important;
}
The second question:
.card__content .card__badge .badge{
color:#fff;
font-weight:900;
}