The left menu on my site - www. haroldbeukers.nl - sometimes disappears (IE7). I can refresh the theme manually, and the problem is solved (just for shorttime:).

When the left-menu isn't visible, the sourcecode is missing:

<!--[if lte IE 7]>
<style type="text/css" media="all">@import "/themes/greenNblack/ie-fix.css";</style>
<![endif]-->
<!--[if lte IE 6]>
<style type="text/css" media="all">@import "/themes/greenNblack/ie6-fix.css";</style>
<script type="text/javascript"> 
$(document).ready(function(){ $(document).pngFix(); }); 
</script> 
<![endif]-->

and

<script type="text/javascript" src="/themes/greenNblack/js/jquery.pngFix.js"></script>

Comments

haroldb’s picture

Assigned: haroldb » Unassigned

Im not the author...
update 2008-08-08:I changed my layout..

cmstuning’s picture

I used php detection of the browser. Most probably, your server have some problems in user-agent detection. Anyway, I plan to re-make columns for the future versions of the theme.

haroldb’s picture

maybe it could be the problem that my server used mysql 3.23 and php 4.3 (2 weeks ago, my provider upgraded it to php 5 and mysql 5, because i asked them --> to use drupal 6.x)...
but i didnt check the Green'n'Black-template again (i'll try it one of these days for short time) and let you know.

marlandc’s picture

Where is that source code? I'm using Green'n'Black and I didn't realize this was a problem until my brother who uses IE 7 pointed it out to me. I confirmed it on my own PC.

If I type in http://sitename/index.html the left menu is just fine. If I type in http://WWW.sitename.com/index.html, the left menu is off way to the left and if I type in http://sitename.com the menu is way off to the left. ONLY http://sitename.com/index.html works properly.

How do I fix this? I'm hosted on Bluehost, and using Drupal 5.7 right now.

marlandc’s picture

I notice that when I open my page without the index.html, these lines of code are missing (just like what haroldb reported initially), but I can't find an answer as to why and can't figure it out. This is only present when I specifically open the page as http://outdoorlightingchoices.com/index.html. http://outdoorlightingchoices.com works ok, too. It's only not working, now, when I type in www first. I never use the www in links, so hopefully this won't be a big deal, but I would like to understand why it's different. Thanks.

@import "/themes/greenNblack/ie6-fix.css";
marlandc’s picture

Hi, I have not been able to find a fix for this yet and I would really like to get it resolved, please. Why doesn't the iefix.css get imported when a "www" gets put in front of the URL?

ajross’s picture

Subscribing - same problem.

haroldb’s picture

@marlandc and @andyjeanne:
could you check which MySQL and PHP you are using? (...../admin/logs/status)
because after the server upgrading, it looks like there is no problem with the Green'n'Black-template anymore. (my experience)

...oohh.. and i didn't mention it.. the problem was only when i was logged-out..
when i was logged in, the menu worked just fine.. so, drupal-users with this template..check your site also when you are logged-out.

update: migration is no solution..same problem again :(

marlandc’s picture

Harold, I'm at 5.0.45 (mySQL) and 5.2.6 (PHP). I'm seeing the same thing as you - the menu flies out to the left when I'm logged out but it's ok when I'm logged in as admin.

marlandc’s picture

I solved this problem by getting rid of my left sidebar for now.

energypro’s picture

I am getting the same error using this template. It doesn't not matter if I am logged in or not. It hapens on several other PC's that I have tested. It is critical that I get this resolved! Any temporary work-arounds?

naturalvic’s picture

I also found I was having the same issue. In doing a bit of checking, I had changed the left column width in the style.css file but not in the ie-fix.css and ie6-fix.css files. Correcting the width fixed the issue.

k74’s picture

please, changed exactly in style.css?

cmstuning’s picture

Status: Active » Fixed

This issue has been fixed in 6.x-1.6 version

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.