WordPress.org

Ready to get started?Download WordPress

Forums

Automatic ul class post-categories generated (1 post)

  1. nr2012
    Member
    Posted 2 years ago #

    Hi there

    I've just found out that when I'm displaying the categories with

    <?php the_category(); ?>

    it creates an unordered list (ul) by default.
    I'm okay with that, but ain't the default value for ul's

    display: inline;

    ??

    Cause I had some trouble managing to get the different categories on one line.
    I now use the $separator-parameter to divide the categories with a comma and now it displays allright. (one line only).

    but even when I'm giving the ul class="post-categories" which is generated automatically the value
    display: inline;
    It doesn't display on one line.

    Can somebody tell me why I had problems with all this?

    Thx & Cheers

Topic Closed

This topic has been closed to new replies.

About this Topic