Drupal Tips

Nov 22 2010

Multi-column lists for your Archives

I recently needed to style an archive list. Here's the CSS to style your monthly archive list into 2 columns.

/* style monthly archive */

div.view-monthly-archive .view-content ul li {
        list-style-image: none;
        list-style-type: none;
        background-image: none;
        padding: 0;
        float: left;
        width: 200px;
        margin: 0 15px 0 0;

Here's the result: