Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've used Omega Tools to create a subtheme from Omega Kickstart. Everything seems to be working as expected except that my subtheme is not rendering Omega Kickstart's global.css, even if i remove the subtheme's global.css. Any help would be appreciated.
Comment | File | Size | Author |
---|---|---|---|
#1 | omega_kickstart_subtheme.png | 25.53 KB | Cookiz |
Comments
Comment #1
Cookiz CreditAttribution: Cookiz commentedHi, in order to have the global.css of omega kickstart working with your subtheme's global.css you'll need to change the name of your subtheme global.css file
If you look into the Commerce Kickstart distribution's related theme, you'll notice that the Commerce Kickstart theme css file is named "commerce_kickstart_style"
also, in your .info file in the theme you'll need to change the initial global.css settings with your new filename.css see below:
Comment #2
ron_s CreditAttribution: ron_s commentedJust to further clarify the response, the subtheme of an Omega subtheme should have a unique global.css filename in its .info file, and then should be enabled under the "Toggle styles" tab on the "Home > Administration > Appearance > Settings" page for your subtheme of the subtheme (/admin/appearance/settings/your_subtheme_name). No modifications should be made to the original subtheme (in this case, Omega Kickstart).
Therefore you will need to do the following --
Verify the global.css information in /omega_kickstart/omega_kickstart.info:
Add the following in /your_subtheme_of_omega_kickstart/your_subtheme_of_omega_kickstart.info (and set "your_subtheme_name" to be the name of your subtheme):
In /your_subtheme_of_omega_kickstart/css:
Rename the global.css file to be "your_subtheme_name-global.css" (where "your_subtheme_name" is the name of your subtheme).
In your Drupal site:
Select "Your custom global styles (all) - your_subtheme_name-global.css" under Toggle styles on the subtheme of the subtheme's Appearance page (/admin/appearance/settings/your_subtheme_name), and save the page by clicking the "Save configuration" button.
Comment #3
bentadmin CreditAttribution: bentadmin commented.... I've been searching for quite a while for this, possibly more than a week. I'm going to give it a shot and see if that gets things working right. I'm pretty frustrated with Commerce Kickstart and Omega Kickstart. Poor documentation through and through. Please document where things are and the proper procedure for using your work, otherwise it will all be for nothing. I know it takes time, but it takes far more time to dissect your work and hunt down answers that just don't make themselves available. Sorry to complain, I know that it's the nature of open source to some degree, and that this is a relatively new project, but that also means there's little excuse not to follow best practices like documenting what you do (please don't make me git it).
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commented"... follow best practices like documenting what you do (please don't make me git it)"
I could not agree more.