Styling wordpress custom category templates

I have a created a custom category template for parent categories which displays only the child categories rather than all the posts contained (category-slug.php). I found a code which calls all the categories but can’t work out how to style the content individually. How can I apply styles to the contents when called up?

I’ve also installed the plugin ‘Category images’ as I’d like to style the contents and implement images for each category on the template.

Here is the code I am currently using…

    <?php wp_list_categories('&title_li=&show_count=1&child_of='.$current_cat); ?>

Read more here: Styling wordpress custom category templates

Leave a Reply

Your email address will not be published. Required fields are marked *