I followed all the instructions for including the special style sheet for Internet Explorer 7 - 9 as set out on http://adaptivethemes.com/documentation/ie-styles-and-scripts. My site is still not reading the file though. The only files read by IE 7-9 seems to be the global.styles.css and other standard adminstrative css files. It does not read the responsive.desktop.css file at all. CSS Aggration is off, the responsive.custom.css file is enabled. The default layout method is Mobile first.

I apologize if I am missing something basic, but I read through all the documentation and issues and tried every solution I could think of, but still no success.

Thank you in advance.

Comments

Jeff Burnz’s picture

Site is under maintenance.

Did you clear the cache, changes to info files require the cache to be cleared, also are the paths correct, many people make small typo's.

Zet123’s picture

Hi Jeff,

Thank you for your reply. I am probably missing something stupid.

I added the following code to my subtheme.info file:

ie_stylesheets[screen][lt IE 9][] = css/ie8-and-below-styles.css

I even renamed the css file with my IE code to ie8-and-below-styles.css. The cache is empty. I have made sure my paths are correct.

What am I missing?

Thanks again!

Jeff Burnz’s picture

Is the file actually in mytheme/css/ directory?

Not sure what you mean by "the cache is empty", what I mean is that you must clear the cache AFTER you make changes to the info file.

I can see this file loading, so how is it loading? From the info file?

<!--[if lte IE 8]>
<style media="screen">@import url("http://www.betaview.co.za/sites/all/themes/adaptivetheme/betaview_subtheme/css/lt-ie9.css?mzhr1o");</style>
<![endif]-->

I can see you are placing your sub theme inside /adaptivetheme/ directory, you should not really do this, its not a big deal but ideally you just stick them in the /themes/ folder directly. If you move your theme be sure your very next move is to clear the cache on the performance settings page, or your site will crash and burn.

Zet123’s picture

Thanks for the tips. I got it working...

Jeff Burnz’s picture

Status: Active » Closed (fixed)
Zet123’s picture

Issue summary: View changes