I added the
field_tags to my view.
Now I want to add a the tag name as a class name, so I can colour each tag differently.
<div class="tag1">tag1</div> <div class="tag2">tag2</div> <div class="tag3">tag3</div>
Unfortunately, unchecking display all values in same row is not an option for me since I need to limit the view to 4 results.
Therefore, somehow I need to be able to loop through them and attach each of them the tag name as a class name.
How can I achieve this?