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.
In template.php, lines 35-37:
drupal_add_css(path_to_theme() . '/styles/ie8.css.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'preprocess' => FALSE));
drupal_add_css(path_to_theme() . '/styles/ie7.css.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 7', '!IE' => FALSE), 'preprocess' => FALSE));
drupal_add_css(path_to_theme() . '/styles/ie6.css.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 6', '!IE' => FALSE), 'preprocess' => FALSE));
}
The theme wouldn't load the IE css files until I changed the path to "/styles/ie[6-8].css". Once I changed it it worked fine.
Comments
Comment #1
networks CreditAttribution: networks commentedNice catch, it took me a while to realize you meant he had put the .css twice! You saved me a lot of grief thanks Roger
Comment #2
Chi CreditAttribution: Chi commentedFixed. Thanks!