View Single Post
  #4  
Old September 30th, 2012, 02:55 PM
johngibb123 johngibb123 is offline
 
Join Date: Aug 2012
Posts: 329
Default

hi,

I have my own CSS classes for <ul class="home1"> and <li class="home2"> tags.. Atleast tell me, how to use these classes for the Below Datafeedr code:



Code:
[category.list before='<ul>' after='</ul>']
    
  [category.if active="self"]
    <li>
      [category.name]
      [category.repeat]
    </li>
  [/category.if]
  
  [category.if active="child"]
    <li >
      <a href="[category.link]" title="[category.name]">[category.name]</a>  
      [category.repeat]
    </li>
  [/category.if]
  
  [category.if active="parent"]
    <li >
      <a href="[category.link]" title="[category.name]">[category.name]</a>  
    </li>
  [/category.if]
  
  [category.if active="no"]
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a>
    </li>
  [/category.if]
    
[/category.list]

Last edited by johngibb123 : September 30th, 2012 at 03:02 PM.