View Single Post
Old 06-17-2010, 09:13 PM  
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
:stop Wordpress, php, and css question (help me please)

Hello. Im trying to style the wp_list_categories tag (<?php

wp_list_categories('arg'); ?>). i know that i can style it using an unordered list and css. Something like this:

<ul class="cat_list"><?php

wp_list_categories('show_count=1&hide_empty=1&titl e_li=<h2>Categories</

h2>'); ?></ul>

That will print a list of categories, hide categories with zero post, and show title called "categories". What i would like to do though is make the parent category links look different from the child category links (have a different font size or use <h3> tag for parent category), so i how would i do that? Like i said I know how to style whole list but how can I make this customization happen? Or is it not possible? Thanks for any help.
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot

Last edited by tonyparra; 06-17-2010 at 09:15 PM..
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote