Closed (fixed)
Project:
Genesis
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2011 at 20:13 UTC
Updated:
22 Jun 2011 at 19:51 UTC
Hello all
For the past day I've been attrempting to create conditional stylesheets for ie7 and 8 for the Genesis them/Drupal 7 with no success. In some read nodes they mention pre installed conditional stylesheet information which I can't find. I've tried installing the Conditional Stylesheets module and still no success, even looking at the source to see if there were conditional statements and if they were loading with no success.
Any help, guidance, code snippets, and directions on how to accomplish this task would be greatly appreciated.
PChuprina
Comments
Comment #1
Jeff Burnz commentedDid you read the Readme that comes with that module?
Works first time for me. I put a stylesheet in my css folder called ie.css and added the necessary line to the info file:
stylesheets-conditional[lte IE 7][all][] = css/ie.css
Worked strait off.
I did not include this module in the Drupal 7 version of Genesis because you can use drupal_add_css to add conditional stylesheets, there is even an example in the Genesis Subtheme template.php file.
Comment #2
Jeff Burnz commentedAssuming this is fixed.