Hi,

We have built a responsive site at: http://undo-software.com/ with three layouts - mobile, narrow and normal (using global.css, xxx-alpha-default.narrow.css and xxx-alpha-default-wide.css). This works fine when CSS aggregation is turned off, but when you turn it on the narrow layout is used instead of normal, regardless of browser width. See http://www.test.undo-software.com/. The narrow layout widths are implemented even though a class of .responsive-layout-normal is applied to the body element.

Not encountered this problem with any other Omega-powered sites so at a bit of a loss as to what is causing it at the moment.

Comments

willhowlett’s picture

I've noticed this, but am not sure if it's a bug or just to be expected when using a responsive theme? As the responsiveness relies on overlaying different stylesheets depending on browser width it would seem logical that aggregating them would cause problems.

That said it'd be nice if all the stylesheets other than the responsive ones could be aggregated.

Update: Looks like this may be a duplicate of http://drupal.org/node/1411078. I had a dodgy comment in my CSS which seems to have been causing the issue. Fixed that and now it aggregates fine.

Anonymous’s picture

Status: Active » Needs review

I had the same issue and it was related to CSS validation error as willhowlett entry (thank you willhowlett).
Could we close this issue since it seems to be working as designed?

Cellar Door’s picture

Status: Needs review » Closed (works as designed)

Closed and works as designed. Thanks Kentoro!