WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Breaking up too many categories for theme testing (5 posts)

  1. grayghostvisuals
    Member
    Posted 2 years ago #

    Preface:
    I am building a base plate WordPress theme and using the theme-unit-test.xml file for review.

    Question:
    The portion of the theme-unit-test where too many categories are displayed creates a scroll bar and overflow in the y-axis. Is there a way to break this up so the categories flow to a new line instead of staying on one?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    I'd imagine that there's a number of ways to do this depending on other CSS factors in the theme but I often use:

    <li class="cats"><?php _e('Filed under:', 'zenlite');?> <ul><li><?php the_category(',</li> <li>') ?></li></ul></li>

    Note the single space between </li> and <li>.

  3. grayghostvisuals
    Member
    Posted 2 years ago #

    Basically you Rock! Thanks :)p

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Glad I could help. :-)

  5. grayghostvisuals
    Member
    Posted 1 year ago #

    This issue has been resolved

Topic Closed

This topic has been closed to new replies.

About this Topic