Hey,
I was wondering if it is possible to add css after conditional styles?
Unfortunately the framework I work with expects that one css is added after all the other styles including conditional ones.
Is this possible?
I have tried every variation of drupal_add_css but the conditional styles always appear last.
Comments
Comment #1
raekjaer commentedThe module sets weight to 999. So in your drupal_add_css you should probably set weight to a higher value.
Comment #2
sylus commentedThe conditional stylesheets regardless of the weight to not affect the placement of those styles as not grouped in with regular stylesheets.
Comment #3
raekjaer commentedYou can do something like this from your theme:
So actually conditional stylesheets are grouped with regular stylesheets. But because preprocessing has been disabled for conditionals, you have to do the same with your render-me-last stylesheet.
Comment #3.0
raekjaer commentedLog
Comment #4
astonvictor commentedI'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks