Shopify themes, liquid, logos, and UX
Hi guys!
So, i'm trying to change the original product price to red when in comparison to the discounted price. I manage to find how to do that, but only for the collections page:
Now I just need to do the same on the product page!
TIA
Solved! Go to the solution
This is an accepted solution.
yes please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.css ->paste below code at the bottom of the file.
.product__price.on-sale {color: #ff0000;}
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
This is an accepted solution.
yes please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.css ->paste below code at the bottom of the file.
.product__price.on-sale {color: #ff0000;}
do you mean cross price red and normal black right?
For some reason, they linked both original and sale prices. I need to separate those so I can turn the original (crossed price) red and then edit the sale price to green
So I guess if you would be so kind to help me turn the crossed price red, I'd be able to do the rest through the theme settings 🙂
@rprioli yes its customization code
Oh, so sorry! your code worked perfectly, I just had to customize it.
Much appreciated for taking the time to help and the quick answers!
its my pleasure to help us
@KetanKumar
Hi,
In my case , it only works on product page. but on the home page the collections are black color on both original and price on sale. Please help
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024