• No matter what I do it seems sidebar.php keeps adding li and /li under Categorys , archives and meta.. Is there a way to get rid of that?

    It seems this code in sidebar.php somehow adds it.
    <?php list_cats(0, ”, ‘name’, ‘asc’, ”, 1, 0, 1, 1, 1, 1, 0,”,”,”,”,”) ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could always try a little CSS.

    For example set the list style to none and the pading to 0. Thats what I use.

    Marzar

    Thread Starter kshack

    (@kshack)

    I found out a way without css and just editing the sidebar.php
    changed
    <?php list_cats(0, ”, ‘name’, ‘asc’, ”, 1, 0, 1, 1, 1, 1, 0,”,”,”,”,”) ?>
    to
    <?php list_cats(0, ”, ‘name’, ‘asc’, ”, 0, 0, 1, 1, 1, 1, 0,”,”,”,”,”) ?>

    also changed
    <?php wp_get_archives(‘type=monthly’); ?>
    to
    <?php wp_get_archives(‘type=monthly&format=custom’); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘sidebar.php keeps adding li /li’ is closed to new replies.