i find that injector css is added before the theme css being added
so it can't be used as a way to change theme css on certain pages

is there a way to move injector css as the last css file to add to output
so that theme css can be override by css injector?

Comments

pepe roni’s picture

you can mark your css as !important, that's all.

zilla’s picture

huh? how is this done? you mean literally put !important at the top on it's own line above everything?

pepe roni’s picture

No, if you add !important to each css-property in your definition, it will not be overwritten by succeeding css definitions. You can google for "important css" and you will get an explanation (many explanations, indeed;)

zilla’s picture

i saw many - tried some - it appears that css injector will not work fluidly wiht all themes, but if the themes provide a local css this could be an alternative approach (most do, the one i'm using does not!)

Flying Drupalist’s picture

Category: support » feature

Hi, that is more than a bit clumsy. The module's css should be last.

add1sun’s picture

Status: Active » Closed (duplicate)