Closed (fixed)
Project:
Zen
Version:
7.x-5.5
Component:
CSS/SASS/HTML markup
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Sep 2014 at 16:55 UTC
Updated:
15 Dec 2015 at 00:44 UTC
Jump to comment: Most recent
Comments
Comment #1
davidneedhamIf you're using compass / sass, it should be pretty simple. If your no-query.css is a scss file to be aggregated into the compiled styles.css, then you should be able to use the class .lt-ie9 wrapping everything in the no-query.scss file.
This would generate just the one css file, even if you add multiple "conditional" stylesheets.
Comment #2
minneapolisdan commentedThanks David. The no-query.css is auto-generated by Breakpoint. So in the following example, this is all the code in my no-query.scss file.
That all works fine, by the way. I'm just wondering how to best call this no-query.css file, ONLY for IE8 and below. I may just work on a work-around, similar to what you suggested. I just liked how it worked in Omega4, and wondering if anyone had a similar solution for Zen 7x-5.
Comment #3
johnalbinI do this technique all the time using the Conditional Stylesheets module. https://www.drupal.org/project/conditional_styles 7.x-2.2 of that module was released specifically to add the "load this stylesheet for IE8 and this other one for everyone else" feature.
I prefer to keep these kinds of solutions modular rather than putting everything into Zen.