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 followed the instructions to make a subtheme, thinking it would be handier in case an upgrade of the parent team comes out. Now I discover that this was a stupid route to take, because the show-grid is implemented as preprocess function and these cannot be (easily) overridden in subthemes.
My recommendation is that the function is commented out and instructions are included to activate it when you need it. Alternatively you could include a switch in the theme configuration to turn it on/off.
Comments
Comment #1
natemow CreditAttribution: natemow commentedFor now, you can add this to your theme's template.php:
Comment #2
ishmael-sanchez CreditAttribution: ishmael-sanchez commentedYou can also try applying this patch #1356742: Display a Show Grid theme setting. Other options besides the fix mentioned by @natemow: Create your own SUBTHEMENAME_css_alter function and blow away the debug css.
Or you can use the info file to remove the styling. Add something like this line to your sub theme info file
stylesheets[all][] = styles/debug.css
(to override the filename has to be the same). This is telling Drupal to use your debug.css file but since you don't have one in your theme, the one from ninesixty isn't loaded.