Problem/Motivation

Even if a layout is disabled, the stylesheet is still imported.

Proposed resolution

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

populist’s picture

Assigned: Unassigned » populist

The 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!

jeremiahtre.in’s picture

populist,

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

populist’s picture

Status: Active » Fixed

Thanks 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).

jeremiahtre.in’s picture

So awesome and thank you, again!

Have a good one, populist.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

added links