Change font color in unsorted list in Views Drupal I'm using Drupal with Views, which outputs an unformatted list of news titles (accompanied with dates). Example output of my View:



Some of the news titles need to change font color or size. For example, if the chosen taxonomy term is "hot" then the font size of title should be 8px.

I think I need a CSS class to be inserted for tagged news, but I can't figure out how to do this.
Views supports tokens to generate CSS classes in the HTML output of a field. Below a screenshot depicting an example where I have added the fields 'Tags' and 'Title' from the default Article content type. In this way, the chosen taxonomy terms are added as CSS classes and you can apply the appropriate styling using CSS.



In order to see the list of available tokens in your View, checkout the section 'Rewrite results' -> 'Rewrite the output of this field' -> 'Replacement patterns' in the configuration screen of the field (you don't need to actually rewrite the output, however, this is the location where you can find the list of supported tokens for the particular field).