Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Grayside CreditAttribution: Grayside commentedI second the Firefox report.
Comment #2
runeveryday CreditAttribution: runeveryday commentedi got the same problems,and in IE ,the fontsize are very small.
Comment #3
scooogie CreditAttribution: scooogie commentedI 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?
Comment #4
illepic CreditAttribution: illepic commentedThis 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
Then in deco.info, BEFORE this line:
stylesheets[all][] = style.css
I added:
So my stylesheets section of deco.info looks like this:
Flush your cache and re-enable caching and it should work fine.
Comment #5
iMiksuI was having the same issue and this helped out.
CSS import shoud not be used in order to optimize CSS files.
Comment #6
teecee CreditAttribution: teecee commentedThanks, this really works. :)
Comment #7
c31ck CreditAttribution: c31ck commentedComment #8
c31ck CreditAttribution: c31ck commentedFixed 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.
Comment #9
c31ck CreditAttribution: c31ck commentedremoving issue tag.