To be able to style node teasers differently from full nodes, using just CSS, it would be good to have a special node-teaser class applied to teasers. The included patch adds the node-teaser class to the $node_classes array in template.php, if the node is displayed as a teaser, and updates zen.css to document the new feature.

CommentFileSizeAuthor
node-teaser.patch1.16 KBkdebaas

Comments

johnalbin’s picture

Status: Needs review » Fixed

Seems reasonable. Committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.