• trying to make the archive listing be in two columns what do i need to add to this to make that happen?

    <ul>
                     <?php wp_get_archives('show_post_count=1'); ?>
                         </ul>
Viewing 1 replies (of 1 total)
  • try CSS;
    for that you need to add a specific CSS class to the ul tag;

    example:

    <ul class="two-column">
       <?php wp_get_archives('show_post_count=1'); ?>
    </ul>

    CSS (might need refinement depending on the used theme):

    ul.two-column li {
    display: inline;
    width: 50%;
    float: left;
    }
    ul.two-column li:nth-child(2n+1) {
    clear: left;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Two column archive’ is closed to new replies.