Support » Your WordPress » CSS DropDown Menu Problem – Below main page

  • Resolved crawf


    Hi all

    I’ve managed to put a CSS drop down navigation menu on my blog, but there seems to be some problems…when the contents of the menu drop down, they appear below the main page content.

    You can see what i mean here..

    If anyone could shed some light on this i would be most thankful 🙂


Viewing 12 replies - 1 through 12 (of 12 total)
  • z-index: 1; in .menu{} does the trick. It tells the browser to display it “higher” in the stack of elements on your page.

    where would i put this? sorry, im a bit dumb lol…


    okay, well i put that into the css for the menu, but it did nothing…damn! any other ideas? this is pretty much killing me…


    Working fine for me; you’ve put it in the right place. IE is failing though, but it apparently supports it. Try bumping the number up, that should do the trick.

    hmmm, well i changed the number value from 1 to 20, but it still didnt work…just to make sure i donwloaded firefox, and that displayed it perfectly…so its obviously a IE problem…

    Do you know about getting around it?


    i stumbled upon this article…seems like IE doesnt like z-index much…


    #main {z-index: -1;} should sort IE out

    Hey! thanks a lot for that! that did the trick great!! thanks a lot you saved me a great headache!


    Sorry I forgot to test that in Firefox as well. Add #container > #main {z-index: 0;} and .menu {z-index: 1;} to your code otherwise anyone not using IE is just going to see a nearly blank page.

    awesome! works great 🙂 thanks a lot for your help! its GREATLY appreciated!


    Sorry to inform you, but whatever that did to your site messed up the layout in FF.
    The menus are all askew and it seems like the browser randomly placed stuff all over your page.

    Yes, ive noticed this…im trying to fix it up…

    have any ideas?


Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘CSS DropDown Menu Problem – Below main page’ is closed to new replies.