• I’m using a template called fspring-10 and it has the following code in the sidebar.php relating to listing the categories:

      <?php list_cats(0, ”, ‘ID’, ‘asc’, ”, 1, 0, 1, 1, 1, 1, 0,”,”,”,”,”) ?>

    The line above lists the number of posts in a category but displays the number of posts below the category name, not in line with it.

    I checked and other people have had this issue and have changed the #sidebar ul li a { CSS parameter to read display:inline vs. display:block. However, if I make that change, this is what my categories and other link lists end up looking like:

    Categories
    —————————-
    General Thoughts (1) Desktop / Application Management (2) Business Management (1) Business Applications (1)

    They’re all inline alright, but they don’t have a new line for each category or link.

    What do I need to change to get the numbers inline with the category name but retain each category and link being on it’s own line?

    – shawn

Viewing 1 replies (of 1 total)
  • A link to the site would help a little more. Not sure why you would need to define a rule for an anchor element (<a>) to be inline, it is inline by nature.

    With a link I could diagnose it better.

Viewing 1 replies (of 1 total)

The topic ‘Category Count Below Category Name – Display:Inline vs. Block doesn’t resolve’ is closed to new replies.