Saw in another post - and I had the same issue. Enabling CSS Optimization in Performance caused problems with our deco-themed site in IE8, Firefox, although it was fine in Chrome.

IE: CSS seemingly unprocessed except for layout (no background, images,etc.)
Firefox: Text formatting unprocessed

Comments

Grayside’s picture

I second the Firefox report.

runeveryday’s picture

i got the same problems,and in IE ,the fontsize are very small.

scooogie’s picture

I was ready to scrap the Deco theme! Thanks for posting this because I really wanted that look. Firefox only had a different font, but IE looked SO bad, like it had NO css! Disabling CSS optimization fixed it. Can anyone explain why?

illepic’s picture

This has to do with the style.css file. I believe this is caused by the @charset and @import declarations within the style.css file.

I solved this in style.css by REMOVING

@CHARSET "UTF-8";
@import "layout.css";
@import "icons.css";

Then in deco.info, BEFORE this line:
stylesheets[all][] = style.css

I added:

stylesheets[all][] = layout.css
stylesheets[all][] = icons.css

So my stylesheets section of deco.info looks like this:

stylesheets[all][] = layout.css
stylesheets[all][] = icons.css
stylesheets[all][] = style.css
stylesheets[print][] = print.css

Flush your cache and re-enable caching and it should work fine.

iMiksu’s picture

I was having the same issue and this helped out.

CSS import shoud not be used in order to optimize CSS files.

teecee’s picture

Thanks, this really works. :)

c31ck’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Component: Miscellaneous » Code
Assigned: Unassigned » c31ck
Priority: Normal » Major
Status: Active » Needs work
Issue tags: +needs backport to 6.x
c31ck’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Assigned: c31ck » Unassigned
Status: Needs work » Fixed

Fixed in 6.x-1.x-dev by http://drupal.org/commitlog/commit/3850/a4bf5ce7d693a7cf8af635633370dcbb...
Looks like this was never an issue in the 7.x version of Deco.

c31ck’s picture

Issue tags: -needs backport to 6.x

removing issue tag.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.