Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 .
Comment | File | Size | Author |
---|---|---|---|
#1 | add-class-to-body-tag-2024701.patch | 944 bytes | danielnv18 |
Comments
Comment #1
danielnv18this patch adds a class to the body when the node has a background image
Comment #2
alarez CreditAttribution: alarez commentedTested, and works fine.!
Really useful feature.
Comment #3
jduarte CreditAttribution: jduarte commentedTested and works...