How can I change the color of sale button text on all pages?

Hello everyone,

Not long ago I have had someone provide me a code to change the text color of my sale button. Today, I noticed the code only changed the text on the front page. When I click on a product, the button text is still the same color.

I was wondering if anyone knew how to properly change the color. I would like to have it changed to #FFFFFF.

URL: https://glowee.nl/
Product with faulty button text color: https://glowee.nl/products/yves-saint-laurent-geurset-ysl-libre-dames-57-5-ml-oranjebloesem

Any help is greatly appreciated!

Thank you.

1 Like

@Dike

sorry for that issue can you try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/component-price.css ->paste below code at the bottom of the file.
.price--on-sale .price__badge-sale {color: #ffffff;}
2 Likes

This worked perfectly. Thank you once again @KetanKumar

1 Like

@Dike

its my pleasure to help us

1 Like