Menu dropping behind content

Forums Forums Menus Menu dropping behind content

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #797
    Dre
    Member

    Hi

    I’ve been fiddling with this problem for a few days now and it’s getting kinda of frustrating. The menu i’ve been using is dropping behind the content. I’ve been searching the forum and found solutions regarding the z-index which I’ve been using. This only worked for FireFox. For instance the [b:1sna3fjl]Link [/b:1sna3fjl] drop menu is workin OK for FF but not for IE (6,7 and 8 ). The menu is dropping behind the info block on the page. The site can be found here[/url:1sna3fjl].

    I’ve added a [font=courier:1sna3fjl]z-index: 1000[/font:1sna3fjl] to [font=courier:1sna3fjl]#suckerfishnav, #suckerfishnav ul[/font:1sna3fjl]  and that worked for FF. So what could be the problem?

    I’m using the Subtle theme[/url:1sna3fjl] for WordPress.

    CSS theme: http://pothof.eu/lipi/wp-content/themes … layout.css

    CODE SuckerFish:

    [code:1sna3fjl]
    #suckerfishnav {
        font-size:13px;
        font-family:verdana,sans-serif;
        font-weight:bold;
        width:100%;
    }
    #suckerfishnav, #suckerfishnav ul {
        float:left;
        list-style:none;
        line-height:20px;
        padding:0;
        margin:0;
        margin-top:33px;   
        width:100%;
        z-index: 1000
        }
    #suckerfishnav a {
        display:block;
        color:#fff;
        text-decoration:none;
        padding:0px 25px;
    }
    #suckerfishnav li {
        float:left;
        padding:0;
        list-style-type:none;
    }
    #suckerfishnav ul {
        position:absolute;
        left:-999em;
        height:auto;
        width:131px;
        font-weight:normal;
        margin:0;
        line-height:1;
        border:0;
        border-top:1px solid #666666;
        }
    #suckerfishnav li li {
        width:129px;
        border-bottom:1px solid #666666;
        border-left:1px solid #666666;
        border-right:1px solid #666666;
        font-weight:normal;
        font-family:verdana,sans-serif;
        margin:0;
    }
    #suckerfishnav li li a {
        display:block;
        padding:3px 10px;
        width:auto;
        font-size:13px;
        color:#fff;
      }
    #suckerfishnav li ul ul {
        margin:-20px 0 0 130px
        }
    #suckerfishnav li li:hover {
        background:#99CCFF;
        }
    #suckerfishnav li ul li:hover a, #suckerfishnav li ul li li:hover a, #suckerfishnav li ul li li li:hover a, #suckerfishnav li ul li li li:hover a {
        color:#fff;
        }
    #suckerfishnav li:hover a, #suckerfishnav li.sfhover a {
        color:#fff;
        }
    #suckerfishnav li:hover li a, #suckerfishnav li li:hover li a, #suckerfishnav li li li:hover li a, #suckerfishnav li li li li:hover li a {
        color:#fff;
        }
    #suckerfishnav li:hover ul ul, #suckerfishnav li:hover ul ul ul, #suckerfishnav li:hover ul ul ul ul, #suckerfishnav li.sfhover ul ul, #suckerfishnav li.sfhover ul ul ul, #suckerfishnav li.sfhover ul ul ul ul {
        left:-999em;
        }
    #suckerfishnav li:hover ul, #suckerfishnav li li:hover ul, #suckerfishnav li li li:hover ul, #suckerfishnav li li li li:hover ul, #suckerfishnav li.sfhover ul, #suckerfishnav li li.sfhover ul, #suckerfishnav li li li.sfhover ul, #suckerfishnav li li li li.sfhover ul {
        left:auto;
        background:#bbb;
    }
    #suckerfishnav li:hover, #suckerfishnav li.sfhover {
        background:#99CCFF;
        }
    [/code:1sna3fjl]

    I’ve added a [font=courier:1sna3fjl]display:block;[/font:1sna3fjl] at [font=courier:1sna3fjl]suckerfishnav li li a[/font:1sna3fjl] and a [font=courier:1sna3fjl]width:auto;[/font:1sna3fjl]

    Any help would be appreciated.. <img decoding=” title=”Smiley” /> Thanks!

    #6072
    borzoid
    Member

    It may not be your menu that is at fault.  I ran into this today also.  What I found was that all of the content items that my menu opened "behind" had the style  "position: relative;"

    when I removed that line from the styles – the problem was fixed.  Hope this helps.

    I took a look at your page and the #content div does have a position: relative; style.  removing it didn’t break the page in firefox but I couldn’t check IE.  Try taking that out and see if it solves your problem.

    Connie

    #6073
    Dre
    Member

    It worked. Wohoo… Thanks a MILLION… I’m sooo happy now <img decoding=” title=”Smiley” /> <img decoding=” title=”Smiley” />

    #6074

    Glad to hear you got your problem fixed.

    Thanks borzoid <img decoding=” title=”Smiley” />

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.