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.
How to reproduce:
- create panels everywhere site template and add body class
- create panels page
On created panels page you won't see class added in site template.
Expected behavior -- to have site template's class on every page
Comment | File | Size | Author |
---|---|---|---|
#1 | panels-2162339-body-class-panels-everywhere.patch | 1.29 KB | ygerasimov |
Comments
Comment #1
ygerasimov CreditAttribution: ygerasimov commentedTechnically problem occurs because page panel sets classes static variables first and then site template's page. Attached patch concatenates settings provided by page and template.
Comment #2
DamienMcKennaTriggering the testbot.
Comment #3
DamienMcKennaTriggering the testbot.
Comment #4
MichelleThis is working for me without the patch. I suspect it was a duplicate of https://www.drupal.org/node/2188787 which has been committed.