Hi!
Is it possible to change the text in the “sales tag” when a product is discounted?
In my language it says “På salg!”, but I want to change it to “Tilbud!”. (I think it says “Sale!” in english)
I do also want to change the color of the same tag and text.
I want the background of the tag in the color #ffd001, and the text should be Black (Bold).
Thanks!
Kenneth
Hey Helgs1,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
#top .onsale {
background: #ffd001!important;
color: black;
font-weight: bold;
}
Please use this plugin to change the translation – https://wordpress.org/plugins/loco-translate/
Best regards,
Yigit
Perfect! Thank you!
I would also like to change the color of the product search button, price filter button and price filter bar to the same color style as above.
Discounted prices should be red (bold).
Is that possible? :)
Regards,
Kenneth
Hi!
Please add following code to Quick CSS as well
.price del + ins .amount {
color: red;
}
.price_slider_amount button, form.woocommerce-product-search input[type="submit"] {
background: #ffd001!important;
color: black !important;
font-weight: bold;
}
div .widget_price_filter .price_slider_wrapper .ui-widget-header {
background-color: #ffd001 !important;
}
Regards,
Yigit