I have a taxonomy vocabulary whose various parents and children need to have different styles. I would need the tid of the every taxonomy page to appear as a class in the body tag in order to make CSS selectors.
I tried using this to work out a solution, but it appears to work only for nodes. I get a class called path-taxonomy for every taxonomy term and that's it.
I would prefer not to install any modules. Thank you