For example, the View and Edit tabs become a bulleted list. (When I switch to Garland the tabs are fine.)

Breadcrumbs are each on a new line.

(I did not customize the presentation of the tabs or breadcrumbs)

Also other float or spacing issues.

See screenshot.

Any ideas appreciated!


Status:Active» Closed (duplicate)

I think this is a symptom of this bug #2056331: Styling for messages, form items, "more" links, and pagers missing from upgraded sub-themes

Please try the work-around described in that issue. If it doesn't fix your problem, please re-open this issue. Thanks!

I reviewed this thread but am not sure what steps to take for the workaround. Can you reference a specific comment? My subtheme was built directly from 5.3 STARTERKIT, not upgraded.


The fix is now in 7.x-5.x-dev and a new 7.x-5.4 release is forthcoming.

new14.44 KB

I downloaded zen-7.x-5.x-dev.tar.gz and installed. It did not work for me, so to eliminate any factors I might have introduced I enabled the STARTERKIT subtheme and made default (I made no changes to it).

When I choose "Aggregate and compress CSS files" the same thing happens (see attached).

(note that this is not true if Zen itself is the theme).

thanks for your quick responses.

I am using the most recent version of the Zen responsive. I created a child theme and have customized that. I get the same error as others in this thread regarding problems when aggregating CSS. After my basic testing I found that 2 css files were not being included despite being called in the "styles" css. One was a custom css of my own for columns within content and the other was "misc.css" (../mytheme/components/misc.css).

To resolve my problem I removed the calls from the "styles" css and added them in the "" file (/mytheme/ below the lines beginning "Then we add our own stylesheet." Here, I added "stylesheets[all][] = css/components/misc.css" and another line with my custom columns css too. At this point, things seem to work OK. I haven't done extensive browser testing but I'm feeling pretty good about it's being OK.

I only hope there aren't similar issues with the JS Aggregate feature since those could be far less obvious to reveal themselves. ... fingers are crossed I guess.

Priority:Normal» Major
Status:Closed (duplicate)» Active

I am seeing the same issue. When we turn on "Aggregate and compress CSS files." option, it appears as though the "@import "components/misc.css";" line in the styles.css file does not get processed.

I have tried the patch from bug #2056331 but I think this is a totally different issue.

Adding "stylesheets[all][] = css/components/misc.css" to our file appears to have worked as a workaround for the time being. Thanks naevehane.

Version:7.x-5.3» 7.x-5.x-dev

I have reproduced this bug.
In 7.x-5.x-dev using css, not sass, with aggregate css turned on, the css from components/misc.css is indeed not used. The css from layouts/responsive.css *is* used. Using sass with aggregate css enabled works as expected, and using either sass or css work fine with aggregate css not enabled.

Assigned:Unassigned» JohnAlbin

Ok. So this is a blocker for the release of 7.x-5.4. Taking a look now.

From this file:

/* HTML element (SMACSS base) rules */
@import "normalize.css";
/* Layout rules */
@import "layouts/responsive.css";
/* Component (SMACSS module) rules */
@import "components/misc.css";
/* Optionally, add your own components here. */
@import "print.css";

The aggregated file is automatically pulling in the contents of normalize.css and layouts/responsive.css, but it's not including components/misc.css or print.css. This is definitely a core bug. :-p

Investigating a work-around.

There's no work-around except to not put CSS files into different sub-directories. :-p

Status:Active» Postponed

Ok. So this is a blocker for the release of 7.x-5.4. Taking a look now.

Since this is a core bug with no feasible work-around (except stop putting the CSS files in sub-directories), I'm going to roll a 7.x-5.4 before this is fixed.

For this bug, you'll have to wait until Drupal 7 is fixed or apply the patch from #1198904: drupal_load_stylesheet() fails to load @import files in different directories

Awesome. Thanks JohnAlbin.

What is the reason for keeping the style sheets in various directories? Isn't it the obvious solution to just keep them in the main css directory?

@ naevehane:

I love you! You made my day!!!! I am almost crying! This problem almost killed me, and you solved it for me!!!!!!! Thank you so much!

Version:7.x-5.x-dev» 7.x-5.4
Priority:Major» Normal
Status:Postponed» Fixed

#5 solution worked for me on Zen 7.x-5.4.

also this, which was easier fix:

my style.css :

@import "normalize.css";

/* Layout rules */
@import "layouts/fixed.css";

/* Component (SMACSS module) rules */
@import "../components/misc.css";
/* Optionally, add your own components here. */
@import "print.css";

! - Added ../ to misc.css - !

Version:7.x-5.4» 7.x-5.x-dev
Status:Fixed» Postponed

Setting this back as #8 through #12 for proper pending fix.