Shopify themes, liquid, logos, and UX
Hey guys,
I need to change the color on the price on discounted products (only on products that are on-sale).
I have struggled with this for a long time and tested various solutions posted here on the forum, but have not found one that works fully in all conditions.
For example:
.product-single__meta .product-single__meta-list #ProductPrice-product-template.product-single__price{
color:red !important
}
1. This code changes the text to red as intended on product pages. So far so good.
2. But the code also makes the text red on products that are not on sale. I need the text to be default color on products with regular prices (grey).
3. The price should also be in red color on discounted products in the product series. The above code doesnt do that.
Is there any fix to this without changing the color to red on products that are not on-sale?
Thanks a lot!
url: wixter.se
Please share store URL!
Thanks!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024