Forums

Theres an automatic ordered list added in listing categories or pages, (4 posts)

  1. jayohxxv
    Member
    Posted 2 years ago #

    WordPress seems to automatically add a

  2. property in the "<?php wp_list_cats('" code. I'd like it to list my categories in the sidebar without bullets in front of them. How do I take off this auto
  3. and have it just break line.

    Thanks in advance!!

  • jayohxxv
    Member
    Posted 2 years ago #

    Whoops, it's suppose to read as so:

    WordPress seems to automatically add a {li} property in the "<?php wp_list_cats('" code. I'd like it to list my categories in the sidebar without bullets in front of them. How do I take off this auto {li} and have it just break line.

    Thanks in advance!!

  • jayohxxv
    Member
    Posted 2 years ago #

    The code is simply:

    <div style="width:200px; padding-top:15px; float:left;">
                <font style="font-size:9px; color:#333333; "><br />
                <?php _e('CATEGORIES &raquo;'); ?>
                </font>
    <h3><?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?></h3>
    </div>

    And this has my CATEGORIES list with bullets in front of each category.

    :)

  • Jonas Grumby
    Member
    Posted 2 years ago #

    Try setting the bullet style to none in the CSS.

    list-style-type: none;
    	list-style-image: none;
  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags