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.
hey
would it be possible to add CSS Class to the variant editor (general pane)?
as in
CSS ID:
CSS Class:
CSS code:
in /admin/build/pages/nojs/operation/node_view/handlers/node_view_panel_context/settings
Comments
Comment #1
arbel CreditAttribution: arbel commentedI second that...very important request!
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedUnfortunately layouts have a method of injecting an ID but not classes. Doing this would require all layouts to be updated to accept classes, which is a significant API change in Panels, and not an easy one.
Right now the only thing you can do is, if using flexible, you can set the canvas class in the canvas settings.
Comment #3
lpalgarvio CreditAttribution: lpalgarvio commentedpostpone perhaps? for whenever you feel this could be achieved