Is there any way to set the order in which the different CSS files that you define thru CSS Injector are called?

I want a CSS file that I use for a whole section of my site called first, then a CSS file that I use to override some settings for a couple of pages to be called 2nd.

??

Comments

catch’s picture

You'd be better off putting the CSS that's called on lots of pages into your theme.

Otherwise this sounds like a feature request against the module, you can submit one at http://drupal.org/node/add/project_issue/css_injector/feature

ikati’s picture

The advantage of the CSS Injector is that the CSS is easily accessible, and when you upgrade, you don't have to redo the CSS.

Plus, if you have a user that isn't familiar with the drupal setup, then they can still change the CSS. so, in those ways, I think it is a great tool.

However, I don't know how it affects performance.

as per your suggestion, I will add it as a feature request. thanks.

Lynne

gnerdalot’s picture

The CSS Injector rules are last - I set all to "screen" and they do load last if I am logged in, but if not they arrive first and then
the theme overwrites some. I will use important as needed, but would still like to have these load last when logged out - what a site visitor would see...