Price & Discount Price Color


I’d like to know if it’s possible to style the pricing so that it’s only a different color (like red) if discounted, but otherwise it should be black. I tried changing the class of the discounted price line in product_data.tpl, but it changes the color for non discounted items as well.

Any help on how to separate the two would be greatly appreciated. I’m running 2.1.1