Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
In the sub theme there are these files:
starterkit-omega-html5-alpha-default-narrow.css
starterkit-omega-html5-alpha-default-normal.css
starterkit-omega-html5-alpha-default-wide.css
starterkit-omega-html5-alpha-default-default.css
At first it seems like these would be where you could include layout specific css, but they don't ever seem to be included on the page. What are these files for?
Comments
Comment #1
ChristophWeber CreditAttribution: ChristophWeber commentedSee the "global.css instead of ..." issue below (http://drupal.org/node/1204254) and the site linked therein (http://mydrupaljourney.com/artlicles/2011/06/30/omega-starterkit-css-files).
Basically, global.css is loaded after all other CSS files in your site, but before other subtheme CSS files. Also, you need to rename the starterkit-*.css files and replace starterkit with your theme's name. All detailed at http://mydrupaljourney.com/artlicles/2011/06/30/omega-starterkit-css-files
Comment #2
fubhy CreditAttribution: fubhy commentedLike Christoph said: "YOURTHEME-alpha-default.css"
Comment #3
fubhy CreditAttribution: fubhy commentedLike Christoph said: "YOURTHEME-alpha-default.css"
Comment #4
unclejustin CreditAttribution: unclejustin commentedAh perfect thanks!
Comment #6
jami3z CreditAttribution: jami3z commentedim having the same issue. have renamed all the responsive css files in my theme folder with my theme name ie
(mythemename)-alpha-default.css
(mythemename)-alpha-default-narrow.css
(mythemename)-alpha-default-normal.css
(mythemename)-alpha-default-wide.css
but they still do not load. Its loading the alpha files, eg
@import url("xxxx/sites/all/themes/omega/alpha/css/grid/alpha_default/narrow/alpha-default-narrow-12.css?lp8z9r");Is there a step I am missing somewhere? Everywhere I read it seems it should work by renaming those files. I think I will need to resort to hacking that css file in the alpha theme instead.
Comment #7
fubhy CreditAttribution: fubhy commentedEasiest way: Use Omega Tools to create your subtheme with Drush or the Wizard UI. This will rename all the files properly. Use RC2 or latest dev version of Omega and also the latest dev version of Omega Tools.
In order to do it manually: Rename all CSS files as you described, note however: No underscores (dashes only) and clear your cache afterwards. This WORKS! you must have missed something of the above.