head scratcher: ie suddenly stopped reading conditional stylesheets
i've got 2 sites using the zen fixed layout theme both have ubercart and are hosted with dreamhost
i noticed yesterday while looking at one site i haven't touched in months that it was looking off in ie, and after some fiddling realized that ie wasn't reading my conditional stylesheets. (the regular one that comes with zen and another just for ie7). page.tpl.php confirmed that it was exactly as i had left it with conditional comments correct. now stylesheets got renamed or anything like that, they're all in the right folders, etc. fortunately, the differences were fairly minor and some adjustments to the regular stylesheet fixed it. today i was working on another site that needs to be ready to go friday and realized the exact same thing was happening! this time i really need ie6 and 7 to have their own stylesheets. i hadn't checked the site i was working on today in ie after installing ubercart a couple of days ago. i cant uninstall ubercart either because these people i'm doing this for needed a weird way to get shipping quotes and ecommerce couldn't do it.
any ideas would be much appreciated

When you have the page open
When you have the page open in IE 6 or 7, are those stylesheets in the source code? If not, then it must be a problem with the conditional statements, I would think. Does the statement that comes with Zen work at all? Is the path correct to the sheets? Is it thrown off by your subtheme?
all of the stylesheets were working fine
both stylesheets were working fine day before yesterday, the paths are correct, ie sees the conditional comments in the source, yet no changes occur when the files are updated. in ie7 the developer toolbar sees styles from all the other regular stylesheets and none from the conditional. i would think it was some error in the conditional statement but they were working fine and i haven't changed them.
it appears that any changes to page.tpl.php at all aren't updating, even though when i download it from the server, i can see the changes. i disabled caching in drupal and that helped for one refresh and then back to not seeing changes in the source. and of course i'm hitting ctrl + f5 to refresh. i uninstalled ie and reinstalled it and it updated once the next time i hit refresh and that was it. it's started happening in firefox too now. i'm going to go find a computer i know has never been to this site before and see what it looks like
Interesting. Did you try
Interesting. Did you try enabling a different Zen subtheme for your account and see if that IE stylesheet worked? I'm happy to help check IE here as well if you post a link.
link
it's reading the regular stylesheets of my theme, just not the ie ones... i'll try switching it to a different subtheme though good idea. if you wouldn't mind taking a look at it in ie7 its chadwickandsonorchids.com i put a 5px red border around the header in ie so if it's seeing that stylesheet it should be pretty obvious.
...
Try switching on CSS aggregation in Performacne settings (Aggregate and compress CSS files), loooks like you're right on the limit of the 31 style sheet limit for IE7.
it doesn't appear
...it doesn't appear that any of zens conditional stylesheets are working. i just put a a bunch of fat red lines all over zen classic (or should have). since i've overwritten zen classics ie stylesheet only once that would kind of eliminate the 31 stylesheet limit as the problem, right? i think i understand what that all stylesheet limit bug is all about.
...
Just try it ok... I counted your stylesheets and there are more than 31 in your subtheme, this causes an error in IE7.
i switched caching back on
i switched caching back on and turned on css compression, definitely a lot less stylesheets now, yes.. that seems to have done it... HELL YEAH! i owe ya one
...
No problem, its a pain-in-the-butt issue but one we have to work-around for now... dang IE.
"curses! arrrr"
*shakes fist in air* "curses! arrrr"
Aha - good to know!
Aha - good to know!
if your css files aren't loaded as they should
Hi,
I had the problem that when adding new (conditional and regular) css files
in the info file
of my custom zen-based child theme
the files did not appear in the html source.
So I googled about "zen conditional" and got here...
My problem turned out to be an odd and different one:
It turned out that somehow zen and custom_child were disabled on the themes page ! I dont know why that happened but after enabling zen and custom all info in the info files began affecting my html source ....
Decided to write that for anyone with the same problem. Cause google may lead people like me here...
Cheers.
http://velko.org
wow thanks rsvelko, your
wow thanks rsvelko, your solution worked perfectly for me too, somehow the template was not enabled.
tks for the help.
cheers.
I've had this happen after
I've had this happen after I've run update.php (themes become disabled but are still set to default, causing all sorts of issues), its a known problem.