Hi there, just wondering how is this different from http://drupal.org/project/css_injector?

Comments

andypost’s picture

This one for 5.x - so what is the difference in aproach?

drupalninja99’s picture

Version: » 5.x-1.x-dev

Ya CSS Injector is not bad if you want to tweak but I don't like that it makes you code the CSS right there. I like to have separate CSS stylesheets. I don't want to have to go in and manage all my styles from within the CSS, I'd much rather modify the CSS in stylesheets with the editor of my choice.

I think that module is ok if you want to do tweaks, but for myself I have sometimes dozens of styles for 1 layout and then I'll have many layouts so this module I think works better for that.

I wouldn't be opposed though to merging the modules or adding features like his deal where you could optionally inject CSS instead of supplying a path to a CSS file.

marko b’s picture

I hope css rules would be able to select which stylsheet you add to which node type and view.

drupalninja99’s picture

what do you mean? right now you give the path relative to your current theme folder

marko b’s picture

I mean like if i have types like page, book and i dont knot page_special that i can select which CSS i add to which type. As i have now one CSS which ic 60 kb and its loaded everytime and for lets say page_special i need only 8 kb of that css. So if i could select customly which one is loaded it can be nice little optimization.

drupalninja99’s picture

ya i need to add an option that lets you select a node type instead of just a path.

drupalninja99’s picture

Status: Active » Closed (works as designed)