WordPress.org

Ready to get started?Download WordPress

Forums

Menu not displaying in IE (6 posts)

  1. robgrayson
    Member
    Posted 5 years ago #

    Hi,

    I posted two or three weeks ago about problems with a WP site that were only occurring in Internet Explorer. Thanks to a reply to that post, one of the problems (not all posts displaying on the main blog page) has now been resolved.

    But another problem remains unresolved. There's a horizontal menu bar which displays perfectly well in Firefox and Safari, but is nowhere to be seen in IE7. The site is at http://coramdeo.free.fr/.

    Any ideas?

    Thanks in advance,

    Rob

  2. Eric Mann
    Member
    Posted 5 years ago #

    Rob,

    Your problem is in the stylesheet, particularly in the #sidebar definition. In IE, if a an element is fixed with "position:absolute" near a floating element, it can get stomped on. The way I've fixed this in the past is to add dummy divs (<div></div>) before calling on the fixed element.

    I'd recommend trying to add dummy divs both before and after you include the sidebar in you WP theme. Let me know if this is clear and if it fixes the problem.

  3. robgrayson
    Member
    Posted 5 years ago #

    Eric,

    Many thanks for replying so quickly. While I have some notion of what you're talking about, I'm in no way a developer and have no idea how to do what you're suggesting. Can you be any more specific? Is there some way I need to post all or part of the stylesheet code here so you can tell me exactly what to change?

    Thanks in advance,

    Rob

  4. Eric Mann
    Member
    Posted 5 years ago #

    Rob,

    Actually, the changes need to be made in your other theme files. If you want, I can take a peek at them and add the code in the appropriate places for you. You'll actually have to make changes to either the sidebar file or to the files referencing it ... but I'll have to see them first to be sure where the change needs to be.

    If you want, I can just change it for you. It will take at most 5-10 minutes for me to find and fix the code. Set up a temporary admin account and email the information to me at: eric [at] eamann [dot] com. I'll add the code for you, then you can delete the account.

  5. robgrayson
    Member
    Posted 5 years ago #

    hi Eric,

    Thanks for the offer. This is really weird...I actually was starting to type you an e-mail when my friend who looks after the site e-mailed me to say thanks for fixing it. I loaded it up in IE7, and lo and behold, the menu bar is now displaying correctly! I haven't touched anything, so I really don't know why this is - but I guess the problem has fixed itself.

    Thanks again,

    Rob

  6. Eric Mann
    Member
    Posted 5 years ago #

    Wow! That never happens. :-) I'm glad it's working for you now, though. (I've never liked IE ... it always causes problems ...)

    ~Eric

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.