Westchester Web World
Home » CSS » Design/Development » Software » WordPress » Styling Category Levels in WordPress with CSS

Styling Category Levels in WordPress with CSS

Posted in CSS, Design/Development, Software, WordPress | 18 views

Tom Johnson of  idratherbewriting.com explains how to style category levels in WordPress so that each category level (parent, child, sub-child) has a distinct style. You style the categories by adding specific classes to your stylesheet. The classes are as follows:

  • .cat-item a (top level, or all levels if no other classes are used)
  • .cat-item ul li a (child level)
  • .cat-item ul ul li a (sub-child level)

For more information, see Tom’s web site at idratherbewriting.com


Head First HTML with CSS & XHTMLHead First HTML with CSS & XHTMLTired of reading HTML books that only make sense after you're an expert? Then it's about time you picked up Head First HTML with CSS & XHTML and reall... Read More >
If you enjoyed this post, make sure you subscribe to my RSS feed!

Tags:

, ,

Related Articles



Posted on April 13, 2009

 

Speak Your Mind

Tell us what you're thinking


  • Ranking Number One: 50 Essential SEO Tips To Boost Your Search Engine ResultsRanking Number One: 50 Essential SEO Tips To Boost Your Search Engine ResultsWith millions of websites on the Internet, search engine optimization - or SEO - is the difference between ranking one in Google and remaining invisib... Read More >
  • Share