cancel
Showing results for 
Search instead for 
Did you mean: 

Set CSS according to product attribute value

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Set CSS according to product attribute value

How can I set a CSS according to a product attribute value ?

 

For instance, set the background-color of a product to green if my attribute color_code is "green", etc...