Support » Themes and Templates » display all categories on one line

  • Does anyone know how to display all categories on 1 line ?

    i tryed :

    – 1 –

    list_cats(TRUE, ”, ‘ID’,’asc’, ”,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,FALSE, ”,FALSE, ”, ”, ”,TRUE);

    this doesnt work , it put each on 1 line . (there is a br)

    – 2 –

    the_category(‘ ‘) , it will only show categories of the current post on 1 line …

    any idea ?

Viewing 1 replies (of 1 total)
  • What I do is leave the Categories in a UL list and apply the following CSS to the list:

    ul.category li {
    display: inline;
    }

    It will transform the unordered vertical list into a horizontal (one line) list.

Viewing 1 replies (of 1 total)
  • The topic ‘display all categories on one line’ is closed to new replies.