Closed (fixed)
Project:
Zen
Version:
6.x-2.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2010 at 21:58 UTC
Updated:
13 Dec 2010 at 21:15 UTC
I created a Zen sub-theme (with the default starterkit folder). Now … I can't find the node id as a class of the body element. Only the (filtered) url path. But this path may change easily and will break all special css rules (which used the path class).
How can I add the node id into the body classes?
There is an older (5.x) issue about the same: http://drupal.org/node/309349
Comments
Comment #1
jix_ commentedAdd this to your template.php:
(Replace 'THEME' with your theme name)
Comment #2
akalata commented