Seems that some CSS elements of Omega are loading in the wrong "group."

I defined a custom group with value above 100 (CSS_THEME) yet these files were still loaded later. I had to jack it up above 2000 to get it to load last for my content specific module using drupal_add_css().

/sites/all/themes/MYTHEME/css/MYTHEME-alpha-default.css
/sites/all/themes/MYTHEME/css/MYTHEME-alpha-default-normal.css
/sites/all/themes/omega/alpha/css/grid/alpha_default/normal/alpha-default-normal-12.css

Seems to me these should all still be using the CSS_THEME group, just has a very hight weight.
Not familiar enough with Omega to know why these are chosen to be loaded last.

(I'm not loading anything via template.php in my subtheme.)

Comments

doublejosh’s picture

Issue summary: View changes

dfgh

doublejosh’s picture

Title: Apparent wrong group for drupal_add_css » Apparent wrong group for drupal_add_css assets
doublejosh’s picture

Issue summary: View changes

asdf

doublejosh’s picture

Issue summary: View changes

asdf

doublejosh’s picture

Issue summary: View changes

change number

doublejosh’s picture

I see the group 2000 used in alpha.inc in the alpha_grid_css() function. Presume those assets are only intended for admin grid and are ok to load WAY late.

Not sure why these subtheme assets are being loaded as part of that group...
/sites/all/themes/MYTHEME/css/MYTHEME-alpha-default.css
/sites/all/themes/MYTHEME/css/MYTHEME-alpha-default-normal.css

Are these files intended only for responsive layout changes?

doublejosh’s picture

Issue summary: View changes

change files in question