Closed (fixed)
Project:
Zen
Version:
7.x-3.x-dev
Component:
layout.css
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2011 at 03:00 UTC
Updated:
21 Aug 2013 at 09:50 UTC
When adding, editing, etc a page, there's a "page-node-edit" and "section-node-edit" class for the body tag. If you're viewing the same page, there's no corresponding class. How would I add something like "page-node-view"?
In my case, I want to stylize the H1 when viewing the page, but have the standard H1 style when editing the page. Right now I have to set the style for the node type and then undo all of it when there's a "page-node-edit". Seems there should be a cleaner way.
Comments
Comment #1
n8tronMaybe something like this?
Place in template.php and replace sitetheme
Comment #2
johnalbin