WordPress.org

Ready to get started?Download WordPress

Forums

Need help with a drop down (1 post)

  1. EvanWatkins
    Member
    Posted 6 years ago #

    I am working on a site for a client (www.amar-international.com/wordpress) and I want to make the tabs at the top of the page show their child pages when hovered. Right now I am using the <?php wp_list_pages('title_li=&depth=1'); ?> to get the menu generated, I have tried setting the depth to 2 but still nothing. Here is the css for the menu

    '#navigators {

    float: right;
    }

    #navigators ul {

    margin: 0px;
    float: right;
    width: 735px;
    padding-top: 40px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    list-style-type: none;
    }

    #navigators ul li {
    margin: 0px;
    padding: 0px;
    display: inline;
    }

    #navigators ul li a:link, #navigators ul li a:visited {

    display: block;
    float: left;
    width: auto;
    padding-right: 15px;
    padding-left: 15px;
    height: 25px;
    line-height: 25px;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    background-color: #B93333;
    margin-top: 0px;
    margin-right: 5px;
    margin-bottom: 0px;
    margin-left: 0px;
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: #B70000;
    }

    #navigators ul li a:hover, #navigators ul li a:active {
    display: block;
    float: left;
    width: auto;
    padding-right: 15px;
    padding-left: 15px;
    height: 25px;
    line-height: 25px;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    background-color: #333333;
    margin-top: 0px;
    margin-right: 5px;
    margin-bottom: 0px;
    margin-left: 0px;
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: #242424;
    }

    '

    I have tried using the new suckerfish but I dont want to change the look of the tabs so that wouldnt work, please help me out

Topic Closed

This topic has been closed to new replies.

About this Topic