Hi! I can't find a class for a full node... Or i have to create new *.tpl.php?
It is very hard to theming without it. Add please ;)
Hi! I can't find a class for a full node... Or i have to create new *.tpl.php?
It is very hard to theming without it. Add please ;)
Comments
Comment #1
himerus commentedwhy don't you use the node-teaser class (that is there) to style for default (.node) first, then overwrite anything that has the .node-teaser class?
otherwise, I suppose this could be added easy enough, it is however, definitely NOT critical.
Comment #2
alexander_danilenko commentedthanks!
Comment #3
webbykat commentedIf anyone else has this need and overriding the default is impractical, you can add a class that reflects the view mode with preprocessing:
This will produce node-full, etc. I added the if statement to prevent it from happening on the teaser, because the core node module already provides a node-teaser class by default, and I didn't want to output two.
Comment #4
vinoth.3v commentednot only node-full, but promoted, sticky classes would be more helpful
Comment #5
steinmb commentedComment #6
avpaderno