I am trying to have all my taxonomy terms to look different from each other.
Is there a way for me add specific CSS classes to differing taxonomy terms?
|
If you want add class to term in everywhere I suggest customize taxonomy template with taxonomy-term.tpl.php. This will allow you to customize the output of your term page. also if you want to add class to it in views result use Field Formatter CSS Class module is what you're looking for.
|
|||
|
Already the page-taxonomy-term-TERM_ID is present on the body tag. To add more classes you can use |
|||
|
Are you talking about taxonomy pages? If so you can target each one of them with the default body class "page-taxonomy-term-X" where X is the taxonomy id. If you want a different class, I suggest you to use the context module |
|||
|