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

Jeff Burnz’s picture

Did 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.

Jeff Burnz’s picture

Status: Active » Fixed

Assuming this is fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.