Wordpress, php, and css question (help me please)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tonyparra
    Confirmed User
    • Jul 2008
    • 4568

    #1

    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
Working...