I want to use CSS to style how my archive months appear.
I’ve done that with categories without trouble like this:
<li class=”cat-item […]>
This shows up like this automatically, just by inserting the categories widget in the widget interface on the admin screen.
Problem is that the archives list items are not classed at all, they’re just list items.
Which leaves me with the functions.php and in there I can define what to class the widgets list item as, but that is the WHOLE widget, like this:
<li id=”archives-3″ class=”widget widget_archive”>
As you can see, I cannot affect the inner li-items, and there’s no way to adjust this in the admin interface either.
What are my options?
- July 2009
- The topic ‘[Solved] Change the widget list classes/id’s? How?’ is closed to new replies.