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


HTML and CSS: Design and Build WebsitesHTML and CSS: Design and Build WebsitesA full-color introduction to the basics of HTML and CSS from the publishers of Wrox! 

Every day, more and more people want to learn some HTML and C... 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


  • The New Google SEO (Search Engine Optimization): What You Need To Be Successful with Google PandaThe New Google SEO (Search Engine Optimization): What You Need To Be Successful with Google PandaForget What You Know About Google SEO!

    In April, 2011 Google implemented the Google Panda filter which fundamentally changed Google SEO. Read More >
  • Share