Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
You should first check whether the theme’s vendors state they provide IE7 compatibility.
Thread Starter
Twee
(@twoarrows)
I cannot find anything about the compatibility they are providing. However, the theme is using conditional comments in the HTML code to adapt to old browsers (IE 6,7 and 8 in particular) and is also taking old browsers into account in the CSS code.
I’m having this same problem with a site I designed using HUM. Anyone have a solution to this? I guess I can just put a warning about it. IE 7 did come out in 2006 after all, and if you’re still using it, you probably don’t belong online…
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Arslock,
If you require further support than this thread provides, create your own thread.
Hi Twee,
Through my own experience using I.E, you have to specify an exact height and width of the div you want in I.E
or it isn’t rendered properly in the browser. Try giving it a specific size and adding various position properties.
If not try
overflow:auto;
Thread Starter
Twee
(@twoarrows)
danny_getextra, thanks for your reply, I already tried to play with the heights, widths, overflows and positions, with no satisfying result.
However, I solved my problem by applying the CSScode for the smaller screens to IE7 users. Consequently the menu is now at the top of the screen and does not interfere with the contentdiv anymore. Quite a detour, but it works..
Thanks all for your input!
you ended up using media queries then?
Thread Starter
Twee
(@twoarrows)
I copied the CSS code which is used in the media queries and copied these to a separate css file, which will only apply to IE7 browser.
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="http://localhost/wp-content/themes/hum/styleIE7.css" />
<![endif]-->
Thanks, this fix worked for me too, though I found IE6 looked wonky too, so I threw it into the mix as well:
<!--[if IE6 | IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="http://localhost/wp-content/themes/hum/styleIE7.css" />
<![endif]-->