Does anyone know how to replace the h2 pages/posts/categories text headings with images?
I’m trying to do my first theme customisation, based on the ‘Bob-la-simple’ theme – the easiest and cleanest I could find. Here’s what I’m trying to achieve: http://www.goodgrief.co.uk/visual. And here’s how far I’ve managed to get: http://www.goodgrief.co.uk. I’ve managed to replace the Archives heading with an image. But the other two are proving a real headache :o(
I need to add some div tags between the ul and li list tags. But these list tags seem to be generated by the php files wp_list_pages and wp_list_categories. And my knowledge of php would fit on the back of a postage stamp.
If anyone could shed a little light in my direction, I’d be very grateful. Thanks.
Many thanks, Moshu. I didn’t realise it was that simple!
Can I just check something with you? I experimented with the code to remove the headings – changing the parameters from
<?php wp_list_categories(‘show_count=1&title_li=<h2>Categories</h2>’); ?> to
<?php wp_list_categories(‘show_count=1&title_li= ‘ ); ?>
Is this the correct way to do it?
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Images on sidebar headings’ is closed to new replies.