Drop Down Menu Positioning

Forums Forums Menus Drop Down Menu Positioning

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #754
    iamcoxnow
    Member

    Hello.  I’m having a minor issue with positioning of the drop down menu.  They all seem to be flush with the top left corner of each parent link.  Here’s the CSS:

    #suckerfishnav {
        background:#1F3E9F url("../multi-level-navigation-plugin/images/suckerfish_blue.png") repeat-x;
        font-size:14px;
        font-family:Arial Narrow, Arial, sans-serif;
        width:100%;
        }
    #suckerfishnav, #suckerfishnav ul {
        float:left;
        list-style:none;
        line-height:20px;
        padding:0;
        border:1px solid #aaa;
        margin:0;
        width:100%;
        }
    #suckerfishnav a {
        display:block;
        color:#dddddd;
        text-decoration:none;
        padding:0px 10px;
        }
    #suckerfishnav li {
        float:left;
        padding:0;
        }
    #suckerfishnav ul {
        position:absolute;
        left:-999em;
        height:auto;
        width:151px;
        font-weight:normal;
        margin:0;
        line-height:1;
        border:0;
        border-top:1px solid #666666;
        }
    #suckerfishnav li li {
        width:149px;
        border-bottom:1px solid #666666;
        border-left:1px solid #666666;
        border-right:1px solid #666666;
        font-weight:bold;
        font-family:Arial Narrow, Arial, sans-serif;
        }
    #suckerfishnav li li a {
        padding:4px 10px;
        width:130px;
        font-size:12px;
        color:#dddddd;
        }
    #suckerfishnav li ul ul {
        margin:-21px 0 0 150px;
        }
    #suckerfishnav li li:hover {
        background:#1F3E9F;
        }
    #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:#dddddd;
        }
    #suckerfishnav li:hover a, #suckerfishnav li.sfhover a {
        color:#dddddd;
        }
    #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:#dddddd;
        }
    #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:#444444;
        }
    #suckerfishnav li:hover, #suckerfishnav li.sfhover {
        background:#5E7AD3;
        }

    The page in question is located at http://www.simconconstruction.com/wordpress and this appears to be a cross browser issue.  Any help would be greatly appreciated.

    #5893

    Hi,
    You have an extra UL tag wrapped around the menu which is guaranteed to be causing problems.

    Your theme probably has something like this in it:
    [code:33k4n29l]
    <div id="navcontainer">
    <ul id="navlist">
    <?php pixopoint_menu(); ?>
    </ul>
    </div>
    [/code:33k4n29l]

    Try changing it to the following:
    [code:33k4n29l]
    <div id="navcontainer">
    <?php pixopoint_menu(); ?>
    </div>
    [/code:33k4n29l]

    And if you still have problems, then strip it back to this (that wrapping DIV tag may be replacing the styling of the unordered list within the plugin):
    [code:33k4n29l]
    <?php pixopoint_menu(); ?>
    [/code:33k4n29l]

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