Closed (won't fix)
Project:
Zen
Version:
5.x-1.x-dev
Component:
layout.css
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2008 at 22:55 UTC
Updated:
27 Jul 2010 at 15:16 UTC
Currently the Zen theme adds a class to the node DIV called 'node-teaser' when the node is displayed as a teaser. I've found that a 'node-page' class is helpful for certain CSS styling situations when the node is displayed in a page view.
Any thoughts on changing these lines in the template.php file:
if ($vars['teaser']) {
// Node is displayed as teaser
$node_classes[] = 'node-teaser';
}
to
if ($vars['teaser']) {
// Node is displayed as teaser
$node_classes[] = 'node-teaser';
} elseif ($vars['page']) {
// Node is displayed as a page
$node_classes[] = 'node-page';
}
I can create a patch if others think this change would be useful.
Comments
Comment #1
akalata commented