Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I'm trying to change the badge text color from black to white, but I can’t find an easy way to do it in the theme settings. Can anyone help with this?
Solved! Go to the solution
This is an accepted solution.
The code is perfectly fine so if you just follow the steps correctly then it should work, feel free to share a screenshot of the code which you have added.
Best,
Moeed
Hey @bigjimmy15
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.badge--on-sale {
color: white !important;
}
</style>
RESULT:
If I managed to help then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi Moeed,
That did not work for me. Can you help insert it for me?
This is an accepted solution.
The code is perfectly fine so if you just follow the steps correctly then it should work, feel free to share a screenshot of the code which you have added.
Best,
Moeed
You were right. That was my bad. Thank you very much. Are you able to help me with something else as well?
Of course, feel free to share it in my private messages.
Best,
Moeed