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
Comment #1
pepe roni commentedyou can mark your css as !important, that's all.
Comment #2
zilla commentedhuh? how is this done? you mean literally put !important at the top on it's own line above everything?
Comment #3
pepe roni commentedNo, 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;)
Comment #4
zilla commentedi 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!)
Comment #5
Flying Drupalist commentedHi, that is more than a bit clumsy. The module's css should be last.
Comment #6
add1sun commentedmarking duplicate of #232766: injected style is overridden by theme if media = all