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.
Currently there is no way to add a class for some block in panels.
Current result on panels:
Current result on block pages: (it is expected and on panel's page):
Please add possibility to add custom class to a block what adds via Panels.
Thanks
Comment | File | Size | Author |
---|---|---|---|
NoClassFiledsInPanels.png | 122.8 KB | aleevas | |
ClassFieldInBlock.png | 159.27 KB | aleevas |
Comments
Comment #2
andypostthis looks duplicate of #2849867: Custom attributes in panels blocks and variants
Comment #3
ericmulder1980 CreditAttribution: ericmulder1980 as a volunteer commented@andypost There are multiple issues in the Panels issue queue related to adding attributes to blocks. The problem here is that these are currently focused on DisplayVariant management where blocks are places in a blueprint for pages to be created later on. Adding new blocks with the IPE (In Place Editor) is not (yet) supported.
Just wanted to point this out before people start searching in the Panels issue queue. I agree with you that this feature request should be picked up by the panels module maintainers and not block_class.
Comment #4
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commented