Closed (fixed)
Project:
AdaptiveTheme
Version:
7.x-3.1
Component:
IE Styles and Scripts
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2013 at 08:50 UTC
Updated:
8 Apr 2014 at 14:35 UTC
Jump to comment: Most recent
Comments
Comment #1
StG commentedUpdate:
If I copy all css-settings from responsive.desktop.css to lt-ie9.css and include this IE-specific stylesheet, I can finally make IE8 display all these settings! However, it's definitely not the best solution because of the duplicated css-declarations.
Comment #2
StG commentedUpdate:
I think I find a solution: After enabling Media query support for IE6-8 (theme settings of AT> Polyfills) responsive.desktop.css is loaded and its declarations are applied.
Comment #3
Jeff Burnz commentedAll responsive stylesheets load in media queries which IE8 is clueless about, when you enabled Media query support for IE then yes it will work, but please understand that making old IE's responsive comes with downsides as well, which is why typically we just don't do it anymore, the option is there, but its not the preferred approach.
As for duplication, yeah its a PITA sometimes but its just the deal with mobile first approaches like you are doing - another way around it is to load the responsive.desktop.css for IE8, aka set the generated CSS files to save in the theme (in theme settings you can do this), and then in the info file do this:
ie_stylesheets[screen][(lt IE 9)&(!IEMobile 7)][] = generated_files/responsive.desktop.cssComment #4
StG commentedThanks for the explanation, Jeff.
Comment #5
Jeff Burnz commentedNo problem :)
Comment #7
Bertjuh commentedI thought I'd leave a note for future reference. If for any reason you thought testing if your website works in IE8 via the IE emulator in Internet Explorer (F12) was a good idea: stop now. Save yourself an ulcer or two.
I had the exact same problem as OP. All of the styles including the IE8 stuff was loaded but nothing got applied. Also fiddling with settings like responsive for IE6-8 had no effect. Also the suggested solutions in this thread did nothing. UNTIL I found out that the problem is the IE emulator.
If you use Micro
gofuckyouselfsoft's virtual machine to test IE8, all the styles ARE loaded and the responsive stuff DOES work. The emulator does not even remotely come close.Btw, Jeff you are a hero. Your work on Adaptive Themes is awesome!