Closed (fixed)
Project:
Zen
Version:
7.x-5.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2012 at 16:04 UTC
Updated:
20 Aug 2012 at 10:11 UTC
Is there a way to choose weather or not a CSS file is loaded in a site? I need to prevent zen_midnight.css loading for a section of my site. Thanks
Comments
Comment #1
johnalbinYou should add a hook_css_alter() to your sub-theme's template.php. http://api.drupal.org/api/drupal/modules%21system%21system.api.php/funct...
Comment #2
jdln commentedIm more of a themer so it seemed easier for me to solve this with the context module. Thanks