Closed (fixed)
Project:
Omega
Version:
7.x-3.0-beta3
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2011 at 03:59 UTC
Updated:
1 Aug 2011 at 12:39 UTC
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 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 commentedLike Christoph said: "YOURTHEME-alpha-default.css"
Comment #3
fubhy commentedLike Christoph said: "YOURTHEME-alpha-default.css"
Comment #4
unclejustin commentedAh perfect thanks!
Comment #6
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 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.