Closed (fixed)
Project:
NineSixty (960 Grid System)
Version:
7.x-1.0
Component:
CSS
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2011 at 13:07 UTC
Updated:
2 Sep 2013 at 23:52 UTC
I'm porting a Ninesixty sub-theme from Drupal 6 to 7, but when I enable the theme in Drupal 7 it prints out the show-grid class in the body tag. This is not something i have enabled, and I can't find anywhere to disable it. This comes from the $classes variable and I have done nothing to modify it.
How do I disable show-grid?
Comments
Comment #1
dvessel commentedYou can't. It's been fixed but you'll have to wait for v1.1 or check the dev snapshot. If you see the debugging styles add this into your subtheme's .info file.
As long as your theme doesn't contain that debug style, it will remove it from the base NineSixty theme. The class itself will remain but it won't trigger anything unless the debug style is included.
I thought the 7x.1 release behaved exactly like the 6x.1 version but that show grid class was added in the wrong place.
Comment #2
olax commentedThank you! I installed the dev-version and it's all good now. :)
Comment #4
hanoiifor what it worth, if you want to use the stable 1.0 you can add the following to your theme's template.php (replacing THEME with your theme name):
and it will remove it.