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.
While it is possible to drill down to the label using a selector, it isn't the nicest selector and it seems unnecessarily complicated. I propose using a simple class on the div wrapping the label, i.e.- field-group-label
Comment | File | Size | Author |
---|---|---|---|
#7 | field_group-class_on_label-2488308-7.patch | 1.9 KB | timodwhit |
Comments
Comment #1
timodwhit CreditAttribution: timodwhit commentedAttaching Patch
Comment #2
timodwhit CreditAttribution: timodwhit at Miles commentedComment #3
timodwhit CreditAttribution: timodwhit at Miles commentedRenamed Patch
Comment #4
arknoll CreditAttribution: arknoll commentedComment #5
arknoll CreditAttribution: arknoll commentedComment #7
timodwhit CreditAttribution: timodwhit at Miles commentedAdjusted for tests
Comment #8
timodwhit CreditAttribution: timodwhit at Miles commentedComment #9
arknoll CreditAttribution: arknoll commentedComment #10
patrickfgoddard CreditAttribution: patrickfgoddard at Miles commentedTested patch and works great!