Hi everyone,
I have used the archive view which creates a nice list for each month with the number of nodes ie January (2).
However, I can't theme the list. Whatever I try, it always ends up being:
<ul class="views-summary">
<li><a href="/archive/201110">October 2011</a>
(1)
</li>
<li><a href="/archive/201111">November 2011</a>
(2)
</li>
</ul>
I wanted to change the ul class to 'archive-list'. I have tried it in the HTML list settings (wrapper class and list class) all to no avail. I've added field of 'title' and tried to apply classes to that, but all that does is apply classes to the resulting list after applying the contextual filter i.e. when you click on January (2), the next page has the fields that you inputted with the classes you applied.
How do you style the actual list itself? I don't know where it's getting the date data from in the first place, it doesn't appear to be a field.
Thanks if anyone can shed some light.
**EDIT** or even to be able to change the div wrapper from 'item-list' to something else. If one had more than one summary view on their site, it would be impossible to style them differently.
This is what I found in views-view-summary.tpl.php:
<?php
/**
* @file views-view-summary.tpl.php