Download & Extend

Put stylesheet includes in info file

Project:Deco
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:deco, home page, ie7

Issue Summary

When i view my site in IE7 the background of the theme is not shown. I have no issues with Firefox. I will post a screenshot in hopes that it will help.

AttachmentSize
deco.JPG91.72 KB

Comments

#1

Nevermind. I found the problem. If you go to admin/settings/performance and disable optimize CSS files the site displays as it should. So, I guess that is a bug with the Deco theme.

#2

I have the same issue - just in IE7 (have not tested earlier versions of IE). In Firefox, all is fine. Here is the site http://www.fdweddingflowers.com. Only a problem on the home page. I've disabled "optimize CSS", but the problem did not go away (have cleared cache several times since, also).

Any advice on how I can tackle this issue would be much appreciated. I'm at a loss.

#3

IE can't handle 30+ css style sheets. That might be the problem here. See this unlimited CSS module -> http://drupal.org/project/unlimited_css

#4

no,the style also can't work. but i found Heine Deelstra's(drupal Security team members) site (http://heine.familiedeelstra.com )is right.

#5

This is due to a core bug (#113607: Import @import commands when building CSS cache, #413296: CSS optimization/aggregation fails on files that use @import).

To remedy, I removed from style.css the lines:

@import "layout.css";
@import "icons.css";

then added the following lines to deco.info directly below stylesheets[all][] = style.css

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

#6

i have done this, it seems not work, the layout is disorderly.the code in deco.info later is

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

is it right ?

#7

No, you have layout.css in there twice. I have

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

Make sure to visit admin/build/themes to refresh theme info. Next, use the "Clear cached data" button on admin/settings/performance.

#8

got it. it's ok! thank you very very ...much!

#9

Title:Problems with Deco and IE7» Put stylesheet includes in info file
Version:6.x-1.1» 6.x-1.x-dev
Category:support request» bug report

Changing the title to better reflect the issue / task.

I would consider this as a bug because it's not properly using drupal's APIs.