I am trying to add a class name to a product attribute on my site so that I can change the colour of one of the attributes to green. I am able to to do this by simply using the class name "Last" which is fine at the moment.
However I have also customised the attributes so that that when the product attribute is empty it does not display on the frontend. This means that my styling using the class name "last" to add the green text is no longer working correctly because it means if my attribute is empty this green styling is added to the next attribute in the list which is not what I want.
Any advise is appreciated.
thanks in advance!