Hi!
I have got a problem with "optimize CSS files" option. When i enable it some of my styles go away ( page width, background etc.), but everything is allright with disabled option. I have tried almost everything. I converted css files to utf-8, checked all files in w3c validator. I spent several hours trying to fix it but without success.
I am working on drupal 6.19, cti-flex theme (zen subtheme).

Please help.

Comments

ecvandenberg’s picture

Hi dankis,

I have the same problem, also with a Zen subtheme. There is an issue http://drupal.org/node/883700 about this but it does not give me a solution.

In my case it appears that the navigation.css file is missing in the optimized stylesheet. A quick workaround is to copy the content of this stylesheet into a stylsheet that is not missing.

But I would also like to have a real solution.

ecvandenberg’s picture

Status: Active » Fixed

A syntax break in a css file caused this problem. I forgot one }

If you can figure out which css file is loaded and which one is not, you have to look for your syntax error in the last loaded file.
The order of loading the CSS files into the optimized css file seems to be the order as given in the template's info file.

Status: Fixed » Closed (fixed)

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

david_p’s picture

Hi guys. Could you be a little more explicit about the solution? How can I find the last CSS file loaded, and what might be the syntax error? I would appreciate your help here. Thanks!

-David

P.S.: I posted this message on the other tread too, to make sure someone would read this.