Hey, I got a strange problem where I can't find anything about it.

I got this in the html source code

@import url("///sites/default/files/adaptivetheme/mytheme_files/mytheme.lt-ie9.layout.css?oqt7yg");

and I have no idea where this is coming from. I checked theme.info - nothing. I checked all settings at the themes appearance page - nothing. I flushed caches several times - nothing. Changed file handling - Nothing.

This file is just put in there without me having any option to stop it.
Where does this file come from and how can I remove it?

Comments

Nchase created an issue. See original summary.

Nchase’s picture

Issue summary: View changes
jwkovell’s picture

The following code comments found in at_core/inc/load.inc might cast some light on the mystery.

 * Each time you save the theme settings AT builds 3 layout stylesheets:
 * 1. themeName.default.layout.css
 * 2. themeName.responsive.layout.css
 * 3. themeName.lt-ie9.layout.css
 *
 * Now we need to load them, but only under certain conditions:
 * a. Is the default layout the standard layout?
 * b. Is the responsive capability disabled?
 *
 * If either a or b equate to TRUE, then we are NOT doing mobile first.
 * If a is FALSE then this is mobile first.
 * If b is FALSE then we are doing responsive design.
    // The lt-ie9.layout.css stylesheet loads under specific conditions:
    // 1. Responsive capabilities are ON
    // 2. Mobile first is ON
    // 3. Respond.js is OFF

While it may not be listed directly in settings, altering your theme settings can indirectly disable this file from being loaded.

I should note that if lt-ie9 is not loaded, lt-ie8.layout.css will be in its place. If that's a problem, you may need to mess with the code in load.inc to suit your specific needs.