Menu dropdown goes behind content

Forums Forums Menus Menu dropdown goes behind content

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #843
    Anonymous
    Member

    I have tried z-index to fix this

    http://www.heatheressianportraitarts.com

    here is the css:

    #suckerfishnav {
        background:#223E52  repeat-x;
        font-size:15px;
        font-family:helvetica,sans-serif;
        font-weight:normal;
        width:960px;
       
        }
    #suckerfishnav, #suckerfishnav ul {
        float:center;
        list-style:none;
        padding:0;
        margin:0;
        z-index:1000;
        }
    #suckerfishnav a {
        display:block;
        color:#868686;
        text-decoration:none;
        padding:0px 10px;
        }
    #suckerfishnav li {
        float:left;
        padding:0;
        }
    #suckerfishnav ul {
        position:absolute;
        left:-999em;
        height:auto;
        width:101px;
        font-weight:normal;
        margin:0;
        line-height:1;
        border:0;
        border-top:1px solid #666666;
        }
    #suckerfishnav li li {
        width:99px;
        border-bottom:1px solid #666666;
        border-left:1px solid #666666;
        border-right:1px solid #666666;
        font-weight:bold;
        font-family:helvetica,sans-serif;
        z-index:100;
        }
    #suckerfishnav li li a {
        padding:4px 10px;
        width:80px;
        font-size:14px;
        color:#868686;
        }
    #suckerfishnav li ul ul {
        margin:-23px 0 0 100px;
        }
    #suckerfishnav li li:hover {
        background:#223E52;
        }
    #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:#944F85;
        }
    #suckerfishnav li:hover a, #suckerfishnav li.sfhover a {
        color:#944F85;
        }
    #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:#868686;
        }
    #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:#223E52;
        }
    #suckerfishnav li:hover, #suckerfishnav li.sfhover {
        background:#223E52;
        }

    and css for div menu that i put it in

    #menu {
    background-color: #223e52;
            background-image: url(http://heatheressianportraitarts.com/blog/nav_bg.gif) repeat;
            filter:alpha(opacity=90);-moz-opacity:.90;opacity:.90;
    height:2em;     
            width: 960px;
            margin-bottom: 1px;
            margin-top: 1px;
            border-left: 1px solid #223E53;
    border-right: 1px solid #223E53;
       
    }

    #menu ul {
    width: 920px;
    margin: 0 auto;
    padding: 0;
    left: 0;
    list-style: none;
           
    }

    #menu ul li {
    float: left;
    }

    #menu .page_item a {
    display: block;
    padding-right: 30px;
    line-height: 2.0em;
    color: #868686;
    text-decoration: none;
    }

    #menu .current_page_item a, #menu .page_item a:hover {
    color: #944f85;
    }

    I put it in the div menu because the background color went away when I didnt.

    any suggestions?

    #6320

    Hi,
    I’ve been trying to access your site but it won’t load for me unfortunately <img decoding=” title=”Sad” />

    #6321
    Anonymous
    Member

    can you try again? it seems to be working for me.

    http://heatheressianportraitarts.com

    #6322
    Vistronic
    Member

    Adding the z-index to a part of the css helped me with this problem.

    #6323
    Anonymous
    Member

    It seems like you got it to work.  I am having the same problems on my site.  what did it for you?

    #6324

    I’ve responded to this question over in your other topic:
    https://geek.hellyer.kiwi/forum/http://local … ic.php?t=9

    #6325
    makingtrails
    Member

    I had this problem

    I updated my css to include z-index:1000;

    #suckerfishnav, #suckerfishnav ul {
        float:left;
        list-style:none;
        line-height:20px;
        padding:0;
        border:0px solid #aaa;
        margin:0;
        width:100%;
        z-index:1000;
        }

    All ok now!

    #6326

    I’m hoping the new CSS generator which I’m (very slowly) working on will fix a lot of these problems automatically. I think I said I’d have it ready by January, so I’m not going to make any more promises about when it will be ready!

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