Trying to change the color of the strike through regular price color. ONLY on the sale items.
Thanks
Trying to change the color of the strike through regular price color. ONLY on the sale items.
Thanks
Hey @xnyjyh
Add the following to your base.css. This will target both the product cards and the product page.
Adjust the color as you like
.price--on-sale .price-item--regular {
color: red !important;
}
Thanlk you! Also, maybe you know the solution to this… Im trying to move the discount badge to in between the stiked out price and sale price. Im sure this is easy. Move to where the green line is as seen below image.
![]()
Hello @xnyjyh ,
Find price.liquid and change the position of the following block of code to the new position from the image.
{%- if show_badges -%}
{{ 'products.product.on_sale' | t }}
{{ 'products.product.sold_out' | t }}
{%- endif -%}
Demo:
You’ll have to adjust the margin to make it look A-OK
You the man! thank you so much Maverick