Viewing 6 replies - 1 through 6 (of 6 total)
  • In WP 1.5 what you have there was a bug that made it difficult. I’d suggest to update AND to style your cat_list display by using
    ul li
    ul ul li
    etc. in the style sheet.

    this is how I list my categories in the sidebar

    <li id="categories"><h2><?php _e('categories:'); ?></h2>
    <ul>
    <?php wp_list_cats(); ?>
    </ul>
    </li>

    then you have to see the stylesheet for configuring how “li” and “ul” should be styled.. such as “display: inline;”

    Well, if you don’t all categories indented, only the subcategories, add this to your css:

    ul.children { margin-left: 10px; }

    But I think this was broken in 1.5, so to get it to work this way, you would have to upgrade to 1.5.1.2…

    Thanks all.

    I am a new user and started with the “Strayhorn” version.

    Are there sub versions that I might need?

    When I look at the wp-content/themes/mytemplate/sidebar.php (or the generated code) both the Main Category and it’s sub category are li items at the same level so I don’t see how to distinguish them with a css rule…

    Steve

    Since 1.5 they were all called “Strayhorn”.
    If you have 1.5 – indenting won’t work. Update to the latest version which is 1.5.1.2.

    Thanks moshu

    Steve

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Indent Subcategory’ is closed to new replies.