• i have a problem with the category navigation bar @ my website What’s Good Blog. its the 2nd navbar, not the one at the top, and it only lists like 6 or the categories or something. how would i be able to get a button that said more and then listed the rest? this code is taken from the header.php that pertains to it, for reference

    /********* <div id=”navcontainer”>
    <ul id=”nav”>

    <?php wp_list_categories(‘depth=3&exclude=1&hide_empty=0&orderby=name&show_count=0&use_desc_for_title=1&title_li=’); ?>

    </div> *******/

    i added the *** in case the forum picked up the html. does anyone have any idea how to expand/add to this code to make the last option say more and drop down with the rest? any help would be greatly apprecaited. thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • (you can use the ‘code’ button above the text edit area to insert html and other code into messages here)

    a css hack that will show all categories just for now while you are working at a solution:
    style.css:

    #navcontainer {
    	height: 52px;
    	display: block;
    	overflow: hidden;
    overflow-x:auto;
             background: #3dbfec;
             padding-left: 6px;
    	}
    #navcontainer ul {width:200%;}

    Thread Starter jaybooshay

    (@jaybooshay)

    that didnt work. its identical to whats there now except for the overflow-x command, and that just made a scroll bar come up but it was still limited to the ones that it displays now. any other ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘problem with category navigation bar’ is closed to new replies.