View Single Post
  #4  
Old 06-22-2009, 05:46 AM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default Re: Adding SubCategory to Article title on Home page

Quote:
Originally Posted by marksperl
Now how do I assign different colors to Sub Category & Article title.
Learn how a CSS id works and add an appropriate id (if needed) so you can select the title or subcategory you are trying to control.

If you cannot find an easy way to select some text, you can use <span> or <div>. <span> is for inline markup and <div> is for blocks of markup.

ie: <span id="subcategory">Some Subcategory Name</span>

Now you can select the subcategory with #subcategory {}.


HTH,
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.