Closed (fixed)
Project:
Panopoly
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
26 Apr 2012 at 15:00 UTC
Updated:
17 May 2012 at 12:00 UTC
Even if a layout is disabled, the stylesheet is still imported.
Let admins choose what stylesheets to load, or disable upon deselection of layout option within a content type.
Additionally, the Omega theme allows the disabling of these styles, via hook_css_alter() (hook_css_alter()); however, not everyone uses Omega.
Thanks for all you do - Panopoly is going to help us immensely!
-jtreinau
Comments
Comment #1
populist commentedThe decision to include all of the layout CSS was intentional to allow the CSS to be aggregated, but in retrospect maybe not so good an idea since it loads a lot of stylesheets. Will investigate!
Comment #2
jeremiahtre.in commentedpopulist,
Thanks for looking into this! Any little bit will help.
Nevertheless, the aggregation does make sense, as my co-worker pointed out, yesterday.
Thanks again,
jtreinau
Comment #3
populist commentedThanks for pointing this out and I updated the panopoly theme module today to only load the CSS you need (https://github.com/populist/panopoly_theme).
Comment #4
jeremiahtre.in commentedSo awesome and thank you, again!
Have a good one, populist.
Comment #5.0
(not verified) commentedadded links