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
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024