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 it isn't possible to include multiple CSS files in a layout, it should be possible to specify multiple CSS files in an array. This allows separate files for no media query fallbacks etc.
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | panels-multiple-css-files-2081447-1.patch | 1.53 KB | msmithcti |
Comments
Comment #1
msmithcti CreditAttribution: msmithcti commentedThis patch makes panels handle an array of CSS files in the layout.
Comment #2
drasgardian CreditAttribution: drasgardian commentedFantastic, thank you. This let me get no-query css files into my layouts.
Comment #3
japerryTested, looked good, and fixed!
You can see the commit here:
http://drupalcode.org/project/panels.git/commit/4668725
Comment #6
ErikHendrick CreditAttribution: ErikHendrick commentedCan you post the layout's .inc file for an example of how multiple CSS files are added to it?