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.
I don't know if this is possible but is there a possibility of having 'no wrapper' but the class still applied to the item element itself?
eg. for an image field instead of
<div class='field-image'><img src='...'></div>
you could have
<img class='field-image' src='...'>
Is this possible or is it outside the scope of this module?
Comments
Comment #1
gregsmith CreditAttribution: gregsmith commentedYou can of course do this easily by overriding field--fences-no-wrapper.tpl.php
and changing:
to:
Comment #2
Fabianx CreditAttribution: Fabianx commentedSeems this solution should work well.