Support » Themes and Templates » Stumped on Category List Display

  • Resolved bradstinyworld

    (@bradstinyworld)


    Here is my problem now that I have added count, feed and told my catecories to display them they look like this on the page

    Celebrity Rumors
    (
    RSS
    ) (10)
    Celebruty Fashion
    (
    RSS
    ) (5)

    so on and etc

    what I want is “Celebruty Fashion (RSS) (10)” all on a single line. I am not seeing what the problem is in the code. I am sure it is something simple, but my eyes aren’t seeing it unfortunately here is my code,
    hard code in the sidebaar:

    <li>
    	<h3>Categories</h3>
    		<ul>
    			<?php wp_list_cats('show_count=1&feed=RSS&depth=1'); ?>
    		</ul>
    </li>

    This is the code from my style sheet for that column:

    #l_sidebar {
    	float: left;
    	width: 225px;
    	margin: 25px 0px 0px 20px;
    	padding: 0px 0px 20px 0px;
    	border-top: 2px solid #FFFFFF;
    	}
    
    #l_sidebar ul {
    	list-style: none;
    	margin: 0px;
    	padding: 0px;
    	}
    
    #l_sidebar ul li {
    	display: inline;
    	padding: 0px;
    	margin: 0px;
    	}
    
    #l_sidebar ul li a {
    	display: block;
    	color: #FF6BA6;
    	text-decoration: none;
    	margin: 0px;
    	padding: 5px 0px 5px 0px;
    	}
    
    #l_sidebar ul li a:hover {
    	background: #FF6BA6;
    	color: #ffffff;
    	}
    
    #l_sidebar p{
    	padding: 3px 0px 0px 0px;
    	margin: 0px;
    	line-height: 20px;
    	}

    Thanks for looking

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stumped on Category List Display’ is closed to new replies.