I have uploaded Zen into the template directory and when i load up my site with zen it does not display anything just all the words. Is it supposed to work this way or there is something I have done wrong?
I have the same problem. I have downloaded the tar.gz and extracted zen/zen directory into /sites/all/themes. I have then gone to /admin/build/themes/ and enabled Zen and set it to default. The theme updates but no styling is displayed. If I view source I can click on the CSS links in the source and it loads the content okay.
I have attached a screenshot of what it looks like plus my directory structure
I also tried renaming zen/zen to Zen/Zen and rebuilding but it had no effect.
I have also tried with the CSS Optimization turned on
» Zen doesn't display any CSS styling __on IE only__
I have a site that is styled just fine, but doesn't work at all in IE. The styles don't show up at all, which I have never seen before. Works fine on any other browser though.
Zen doesn't display any CSS styling __on IE only__
» Zen doesn't display any CSS styling
I resolved my issue by rebuilding the theme as a sub-theme of Chameleon. If anyone wants to see what I was dealing with, I still have the Zen sub-theme installed so just shoot me a line.
I guess tlloyduk's issue is still open, so I will leave the ticket open.
I am seeing something similar.
My theme works great in Firefox and the styles are missing in IE.
And curiously if I turn performance cacheing on it works in IE and it I turn if off again styles are again missing from IE.
this problem eventually went away for me, not sure what I did to cause it to be fixed, except that I moved from a shared host to a VPS and in the transition the problem went away. Obviously it has nothing to do with shared or VPS, but likely something to do with cacheing, whether Drupal cacheing or browser cacheing.
styling issues are common in IE and with Drupal. IE supports a max number of style sheets and you'll often exceed that number... partiicularly if you have lots of mods installed.
Go to settings > performance and enable the CSS mimification feature. It should also improve page load. the catch is that you have to either disable or clear cache to see changes to the CSS....
Zen on it's own will not display much at all - you must follow the installation instructions and create a subtheme of zen using the STARTERKIT folder (that's where all the CSS files are stored). I recommend Zenophile module to make this easier: http://drupal.org/project/zenophile
If you are still having trouble, try flushing all your caches, checking over the installation instructions and checking your directory file permissions.
Zen 6.x-2.0 uses a lot of stylesheets (nearly 20) add to this all the module / core stylesheets and you have up to 40 sometimes - and IE only supports 31. As CorpX said you can turn CSS caching on in the 'performance' section which will solve the problem, if you're trying to debug CSS in IE I'd recommend this module: http://drupal.org/project/ie_css_optimizer which allows the option to only cache core / module stylesheets.
Zen uses a conditional stylesheet decloration in the .info file for the IE CSS files which come with Zen, you have to install Conditional Stylsheets module (http://drupal.org/project/conditional_styles) for these to work through the .info file, or you can add something this to your section:
I have created a sub-theme, and the pages show fine. However, there is no styling. When I look at the source for the page, every .css file is called as a .css?9.
Is this supposed to work; if not, any idea how it gets presented this way and how can it be fixed?
@gstool it works fine. the ?9 changes every time the file changes, in order to tell the browser not to use its cached version of the file. it is a drupal 6 feature, not zen's.
Comments
Comment #1
vm commenteddo you have page cache enabled ? if so have you cleared the cache table in the database ?
Comment #2
cerventus commentedI checked my cached is STILL not activated yet.
Comment #3
bryansd commentedExactly which directory are you uploading the "zen" directory?
Comment #4
cerventus commentedin theme.
Comment #5
johnalbinClosing the issue. If you are still experiencing this issue, please re-open it.
Comment #6
tlloyduk commentedI have the same problem. I have downloaded the tar.gz and extracted zen/zen directory into /sites/all/themes. I have then gone to /admin/build/themes/ and enabled Zen and set it to default. The theme updates but no styling is displayed. If I view source I can click on the CSS links in the source and it loads the content okay.
I have attached a screenshot of what it looks like plus my directory structure
I also tried renaming zen/zen to Zen/Zen and rebuilding but it had no effect.
I have also tried with the CSS Optimization turned on
Thanks
Comment #7
innerfile.com commentedI have a site that is styled just fine, but doesn't work at all in IE. The styles don't show up at all, which I have never seen before. Works fine on any other browser though.
http://carbuyersbeware.com/
Any thoughts?
Comment #8
innerfile.com commentedComment #9
innerfile.com commentedI resolved my issue by rebuilding the theme as a sub-theme of Chameleon. If anyone wants to see what I was dealing with, I still have the Zen sub-theme installed so just shoot me a line.
I guess tlloyduk's issue is still open, so I will leave the ticket open.
Comment #10
webservant316 commentedI am seeing something similar.
My theme works great in Firefox and the styles are missing in IE.
And curiously if I turn performance cacheing on it works in IE and it I turn if off again styles are again missing from IE.
Wierd. Any ideas?
Comment #11
Kecia commentedI'm having the same problem in both IE and Firefox. I downloaded the latest release of Zen - 6.x-2.0 - followed the instructions, etc.
No matter what I do I can't get the style sheet to show up. I downloaded theme Gulmohar, since that is based off of Zen and it works fine.
Comment #12
webservant316 commentedthis problem eventually went away for me, not sure what I did to cause it to be fixed, except that I moved from a shared host to a VPS and in the transition the problem went away. Obviously it has nothing to do with shared or VPS, but likely something to do with cacheing, whether Drupal cacheing or browser cacheing.
Comment #13
dagomar commentedI'm having the same issue with 6.x.2. No css-styling in IE(7).
Comment #14
keesee commentedstyling issues are common in IE and with Drupal. IE supports a max number of style sheets and you'll often exceed that number... partiicularly if you have lots of mods installed.
Go to settings > performance and enable the CSS mimification feature. It should also improve page load. the catch is that you have to either disable or clear cache to see changes to the CSS....
I always turn it off when developing.
Hope this helps.
Comment #15
hedley commentedZen on it's own will not display much at all - you must follow the installation instructions and create a subtheme of zen using the STARTERKIT folder (that's where all the CSS files are stored). I recommend Zenophile module to make this easier: http://drupal.org/project/zenophile
If you are still having trouble, try flushing all your caches, checking over the installation instructions and checking your directory file permissions.
Zen 6.x-2.0 uses a lot of stylesheets (nearly 20) add to this all the module / core stylesheets and you have up to 40 sometimes - and IE only supports 31. As CorpX said you can turn CSS caching on in the 'performance' section which will solve the problem, if you're trying to debug CSS in IE I'd recommend this module: http://drupal.org/project/ie_css_optimizer which allows the option to only cache core / module stylesheets.
Zen uses a conditional stylesheet decloration in the .info file for the IE CSS files which come with Zen, you have to install Conditional Stylsheets module (http://drupal.org/project/conditional_styles) for these to work through the .info file, or you can add something this to your section:
Enabling these usually solves most problems with IE.
Comment #16
gstool commentedI have created a sub-theme, and the pages show fine. However, there is no styling. When I look at the source for the page, every .css file is called as a .css?9.
Is this supposed to work; if not, any idea how it gets presented this way and how can it be fixed?
Here are a few lines from the source.
Thanks.
Gerry Tool
Since posting this, I discovered it must be OK since other themes show the same .css?9 in the source code and work fine.
Comment #17
barraponto@gstool it works fine. the ?9 changes every time the file changes, in order to tell the browser not to use its cached version of the file. it is a drupal 6 feature, not zen's.