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

akalata’s picture

Component: Code » layout.css
Status: Active » Closed (won't fix)