It will be very helpfull when an image is bieng used as a background, that you can identify with a CSS class if the node has or doesn't have a background, in order to ease the process of modifcitation of the HTML .

CommentFileSizeAuthor
#1 add-class-to-body-tag-2024701.patch944 bytesdanielnv18
Membership dollars fund testing for the Drupal project. Drupal Association Learn more

Comments

danielnv18’s picture

this patch adds a class to the body when the node has a background image

alarez’s picture

Tested, and works fine.!
Really useful feature.

jduarte’s picture

Tested and works...