This is our website: https://heartzstudios.com/
I’ve entered this code to change the sales price of the products on the homepage to red:
span.new-price {
color: #CB190E !important;
}
This code work fine on all the products except for one, which is the hat. The hat is not on sale therefore I want the colour to remain black instead of the red right now. Any advice on how to change that?
Hey I can’t enter your website it’s asking for password
1 Like
Hi do you know what the issue is
Yes you have applied the color to price.
But you want is that this hat should remain black because it is not on sale right?
This requires if statement in the liquid rather than simple CSS code if it’s not already there.
Hopefully, it will help you. If yes then Please don’t forget to hit Like and Mark it as the solution!
Can you please advice what code to input and where to code it to make the hat price in black?