Term Body Class allows to add taxonomy term classes to the body element of
content pages and user account pages.
Install this module using the official Backdrop CMS instructions at
- Visit the settings of a term reference field. For example, on a new Backdrop
site, go to Administration > Structure > Content types > Post > Manage
fields > Tags (
- Enable the option "Add as body class", and save the field settings. (The
body class setting applies only to the field instance of this content type.)
- Add a post with a taxonomy term, e.g.
My term. As a result, the
tbc-my-termwill be added to the
bodyelement of the HTML.
Bugs and Feature requests should be reported in the Issue Queue:
This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.