Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 314013

Wrap specific taxonomy term with a css class

$
0
0

Hi!

I would like to know how to set a css class to a specific taxonomy term so that class is used site-wide (views, nodes...) when that term is display.

ex: if tid=2, class="label"

I've search all over and couldn't find a solution. Pretty sure I would have to play with the term.tpl.php but I'm not at all good with the php language :)

I use the bootstrap theme

Thanks for your help!


Viewing all articles
Browse latest Browse all 314013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>