Closed (fixed)
Project:
AdaptiveTheme
Version:
7.x-2.1
Component:
CSS/HTML
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2011 at 19:57 UTC
Updated:
7 May 2012 at 11:22 UTC
Hi Jeff,
Is it possible for me to remove all the css files that are loaded in the .info file just for the home page and just load a specific stylesheet for the from page?
Thanks,
Chris
Comments
Comment #1
Jeff Burnz commentedYou can indeed, most people are using hook_css_alter() to do this sort of thing...
http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...
Comment #2
drupalcms.ir commentedThere is some problem to remove rtl styles on drupal version 7.9
The abow function will remove the css files from the theme, but the rtl versions are steel shows on the pages.
Please help me about this ?
Comment #3
Jeff Burnz commentedYou need to detect the language direction and write code to remove them also, see Adaptivetheme 7.x-3.x hook_css_alter() implementation for an example.