Closed (fixed)
Project:
Zen
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2008 at 22:19 UTC
Updated:
29 Dec 2008 at 07:42 UTC
It looks like Drupal core creates its own page-* class for the body tag.
Unfortunately, its page-* class is more like Zen’s section-* class, but less capable. :-(
Anyway, having dupe page- classes is confusing and annoying. I think I'll need to change Zen’s current page-* class to a url-* class.
But I'm not sure if I should delete core's page-* class and rename section-* to page-* or if I should just leave core's page-* and Zen’s section-* as is.
Comments
Comment #1
johnalbinIt turns out core's page-* body class is based on the internal drupal path. So, if /node/37 had a path alias of "/about", zen would output "page-about", but core would just take the first part of the /node/37 path spit out "page-node". :-p ugh. Who put that into core? It's useless.
So I'm going to remove core's page-* body class from zen's page.tpl.php.