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.
Hi!
I can't seem to get the global.css to load. My sub-theme default loads (wide, narrow, and default) but global.css is a no go. But, once I shrink the browser window to mobile size, content is put into one collumn (which I like) but all styling goes away. The global.css and the default.css have the same styling.
I am a 960grid newbie. So, the most obvious answer is probably the one I am overlooking.
Best,
Michael
Comments
Comment #1
dhalbert CreditAttribution: dhalbert commentedNote that it's possible to turn off global.css (which you may have done by accident) from the theme settings. Go to
/admin/appearance/settings/YOURTHEME
and click on the "Toggle Styles" tab, and make sure the checkbox forglobal.css
is checked.If not that:
Did you change the .info for your theme much from the starterkit .info? It should be almost identical except for the name at the top and the two lines that are marked as the ones you should delete.
Try creating a fresh subtheme from the starterkit according to the instructions and see whether it loads global.css properly. If it does, compare the new subtheme's files and directory structure and its .info file with your own, to see what's different.
Note that if your theme has a "-" or "_" separator in the name, you have to be careful to use the right separator, as it will vary in different places. It's easier just not to have a separator in the name, to avoid issues. (Though I think that may not be the issue here.)
Comment #2
mgriebe CreditAttribution: mgriebe commentedThanks! I had disabled it as you suggested.
Comment #3
dhalbert CreditAttribution: dhalbert commented