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 saw the issue where it looked like conditional stylesheets would be picked up from a preprocess function in Omega 7.2, but I'm wondering whether this is working now in 7.3? If it is how does it work (what should the file name be?) Would you recommend using the Conditional Stylesheets module if it's not included?
thank you!
Comments
Comment #1
minneapolisdan CreditAttribution: minneapolisdan commentedI am using the Conditional Stylesheets module, so I'd say use that. But I'm currently dealing with an issue where the Conditional Stylesheets are being rendered 1st, before my Omega stylesheets, which means any IE specific rules just get over ridden. Due to the cascade. Trying to figure this one out.
Comment #2
minneapolisdan CreditAttribution: minneapolisdan commentedCorrection to my comment above. Don't use Conditional Stylesheets module. See this, http://drupal.org/node/1263750#comment-4927202
Comment #3
Argus CreditAttribution: Argus commentedMight as well change this to a feature request.
Comment #4
Ubershiz CreditAttribution: Ubershiz commentedI'm using
drupal_add_css('sites/all/themes/THEME/css/ie.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'preprocess' => FALSE));
in the preprocess-html.inc file and it is working just fine to target IE8 and below. Fubhy may have a better way to do this but this seems to be working just fine.
Scott