Posted by snepa on January 25, 2009 at 4:02am
| Project: | Pixture Reloaded |
| Version: | 6.x-3.0 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I have enabled Superfish menus for the primary menu. The menu displays correctly in all browsers except IE7 where it displays vertically instead of horizontally.
I've attached a screenshot of how the menu displays in IE7 and in Firefox. I'm running Drupal 6.9 and Pixture Reloaded 6.x-3.0.
Any help or direction would be appreciated. I've had other issues where my site displays differently in IE but this is the worst.
Thanks,
snepa
| Attachment | Size |
|---|---|
| VerticalSuperfishIE7.JPG | 10.21 KB |
| HorizontalSuperfishFirefox.jpg | 55.29 KB |
Comments
#1
Looks like you have made a lot of modifications, by default it works just fine in IE6, IE7 and IE8 beta. See the screenshot in IE7.
You'll need to work through the modifications you made, somewhere something is going wrong.
#2
Snepa, just curious but are you seeing this effect throughout your site in IE7? Or only in specific pages?
I too have this "vertical menu" issue popping up - except the issue only comes up in one scenario for me - pages where there are comments (forums, and story nodes with comments enabled). A forum topic with 0 replies displays fine ... but once there's a reply, the menu stacks vertically. FWIW I haven't touched any of the superfish menu CSS or JS files - though I am using comments themed by Advanced Forum, which may be the culprit.
Attached are 2 screenshots, both from IE8 beta (though the issue occurs as well in IE7). Firefox and Chrome display just fine. So it's something with the divs being added by the comment module, at least in my case. Why divs in comments would affect the menu is beyond me, but I still need to dig in - has anyone else seen this?
Mini rant - I absolutely hate IE.
Kudos on this theme though, it's been awesome to work with.
#3
Apollo610,
Good sleuthing. I don't know how you figured that out. I tested and it is the same for me. Only views/pages that allow comments cause the menu to stack vertically. "Pages" which by default in Drupal don't allow comments have a perfectly normal menu displayed.
Another variable for me is that this display issue didn't pop up (no pun intended) until recently. I had some menu alignment issues but not like this. The time sensitive changes I made to the site include the installation of Secure Pages module (to work with my new SSL cert) and the Image module. I have read in the Secure Page forums that some folks have issue with https pages in IE. Don't know if that is playing a role.
Concerning your mini-rant - I'm new to the Drupal world and have been doing all my work in Firefox in Mac. Needless to say once my biz partner started making me aware of the IE issues and once I started reading forums and seeing, even within Pixture Reloaded files, the phrase "IE bug fix" I became even less of a fan of IE and most things MS than I was before. Any dues to your club membership or just proof of trial by IE fire?
jmburnz,
I did do some customizing. I replaced the header graphics: header.png, bg-header.png and sf-hover-tile.png. The layout customization I made was in removing the right margin of the logo (the left boundary of the menu is actually just part of the logo image). My style customizations were in changing the colors of the primary/superfish menu's.
I agree with Apollo 610. Wonderful theme.
If revelations or epiphanies occur, keep me posted.
snepa
#4
@Apollo610 & snepa - if you would supply links to your sites it would be easier to se where the issue might be. I'd say its a CSS issue, and it may be quite easy to fix.
#5
jmburnz,
Mine is www.kilboa.com
Thanks for looking into it.
snepa
#6
Not sure if anyone else has made progress on this, but I think I tracked the cause of the issue to the position:relative lines in the superfish.css ...
http://webdemar.com/webdesign/superfish-jquery-menu-ie-z-index-bug/
I can't get the fix to work though, I tried different combinations of setting the z-index for the header, content, menu, main, etc etc but to no avail.
Anyone else wanna give this a shot? And please share if you're able to solve the problem... :)
@snepa - IE is so incredibly difficult to code for due to its nuances from version to version, it's horrid. You're lucky you avoided it for as long as you had. Some people are still attempting to support IE6, along with IE7 and now the upcoming IE8. All use different variations of rendering engines. All with different results. I guess I shouldn't complain too much - Microsoft's incompetence keeps many devs employed. So welcome to the club! Fortunately, this one doesn't require any dues, we're all brothers and sisters in pain. :)
#7
z-index would only apply if the menu is going *behind* something (common with flash etc). What both you are seeing is SF loosing all its styling completely (from what I can see).
I would be looking to see if the all the stylesheets are actually loading, and if there are more than 31 stylesheets.
snepa - you're aggregating the stylesheets so I cant look at the CSS as a whole file, I can dig around with Firebug but its easier if we can read the entire sheet. BTW - you site has no style at the time I looked, seems there may be a general issue with the loading of stylesheets in general.
#8
jmburnz,
I took your comment to heart about the mods. I went back to the drawing board with a fresh install of the the pixture reloaded theme and replaced only a few .png files and made no changes to the .css files except for menu colors. For me, the problem has disappeared.
I don't know what you mean when you say "your site has not style...general issue with the loading...". Yikes. If you find that is still true after a second look let me know - www.kilboa.com. I might have other issues of which I am not aware.
apollo610,
Thnx for the research - it confirmed my situation. I think it was due to a relative positioning of the menu against my logo. Went haywire when I changed the logo margin.
All your IE6, IE7, IE8 talk is scaring me. 45.7% of internet users on either IE6 or IE7 per w3schools.com. Thank goodness for the ever growing community of Firefox users (44.4%). Has been a most friendly browser to me as a newbie/hack designer.
#9
Maybe it was a temp issue with the server? Not sure, but i looked in both IE and Fx and certainly the style.css file was not loading - if you're not seeing this anymore then I perhaps wouldn't worry so much about it, esp if you are redesiging and things are going well.
The header design on PR is not for the faint heared, its pretty tricky how it all fits togeather etc - notice how it never breaks, no matter what combination of options you have enabled, such a search box, logo, menus, site title and/or name etc etc. The html and css is therefor rather complex in order to support this, and does make it harder to customise.
#10
I have got this problem as well with exactly the same 6.9, PR 3.0 in a test envrionment running on Xampp 1.7.
IE6 displays the first and the last entry of the primary links vertical...the middle entries are fine. Firefox 3.0 no problem.
Not tested yet yet is IE7.
I am using quite a few modules from i18n to fckeditor...but absolutely not programming.
Any idea what this could be caused off?
Thanks..
#11
Never seen that - the theme is well tested in IE6 (junkware dinosaur that it is...), and can't even visualise what you mean actually.
Maybe not your own code, but certainly a lot of additional stuff going on - have you tried disabling module to see if the problem fixes itself?
If you look at the test site the rendering is practically flawless in IE6 and 7. You need to look at what you have modified in the theme or otherwise.
#12
I have attached the pictures of my situation. IE6 and Firefox run on the same computer (XP, SP3).
It is remarkable that the sidebars also do have a compression...that seems to be the reason for the superfish menu to be impacted as well.
Regarding code or other modules...I have not done ANY programming in addition to switching on modules....meaning that there is no own additional code.
#13
The problem looks like something is messing with the .first and .last classes, it'll be a module or a mod you made to the CSS. Use Firebug to track it down, probably a width set such as....
.first, .last {width: 40px;} or something like that.
#14
Just found out by removing all blocks and bringing them back each and testing separately that the module that causes this behaviour is the calender_block . Switched this off and everything behaves ok.
I will now look for another calender solution and see if this solves the problem.
#15
Probably related: my site http://evolectronica.com shows the last menu item (Help) vertically in IE7 when the window is made very narrow. I have not tweaked any css or javascript for the menus. Thanks x10e6 for the GREAT theme though. I would not even know where to start doing the CSS properly for so many browsers etc.
#16
Apollo610, I'm having the same problem with the superfish menu in IE7 - the menu is hidden underneath tabs and other content. I checked out the link you gave and played around with the z-index in style.css, but haven't made any changes to the superfish.css. Anyone else able to resolve this issue. By the way, I'm using Pixture-reloaded as well and loving it. If anyone is interested in looking at the site, it's http://www.t2sa.org.
#17
I got the superfish menus to work in IE6 and IE7 by playing around with the z-index in style.css. Thx...
#18
Hi, bit new to this kind of thing.... is the path to style.css as follows sites/all/themes/pixture_reloaded-6.x3.0.tar ?
When I search for z-index in this .css I find nothing, Thx
#19
@bluemango - the path for the customized style.css that the theme makes and uses should be in sites/default/files/color/pixture_reloaded-* ... the z-index would be a value set for the class/IDs that are affected by the overlapping.
Regarding this problem - there's a new module out that should eliminate the problem where IE is loading only the first 30 CSS files in a given project (which is probably what's happening to many of us). Just install and enable and you should be all set.
Hope this helps.
#20
Thank you thank you thank you thank you thank you Apollo610!
#21
I have the same problem: The superfish menu appears vertically, only on IE and only on pages with comments enabled (wheter comments have been posted or not)
It just started 2 days ago and i have no idea what provoked it.
All I know is modifying the z-index and adding the Unlimited CSS didn't solve my problem.
Any one found a solution?
Thanks!
#22
I have enabled CSS Optimization in /admin/settings/performance and the problem seems to be solved.
#23
Ie 6 can only handle a certain number of stylesheets so I wonder if the css optimization might sort this for othe people too?
#24
Well...when the problem is caused by the number of stylesheets limitation in IE, I guess the IE Unlimited CSS Loader module mentioned above should be the solution.
#25
The Unlimited CSS module is good for development, but for production sites just turn on CSS aggregation unless you can't (such as if you are using private download method), in which case going with the module is the next best thing.
Note that in Drupal 7 these issues have been solved completely.
#26
I had similar situation, primary links (actually - LIs) displayed vertically in IE6 (haven't get a chance to test it in IE7, but it was fine in IE8), and eventually it turned out that the problem was with jQuery's dropShadow() method applied to links there.
After removing .dropShadow() for IE6 everything started to work properly again.
#27
I have a similar problem with pixture reloaded together with advanced forum. Nacked Style is fine, but with all other styles the menu turns vertically (IE 7) or even almost the whole theming breaks down (IE 8)... does anybody know a solution?
Thanks
#28
... the same happens with pixture reloaded together with panel settings - almost the whole theming breaks down ...