ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Insert class or ID for 2nd level categories

October 04, 2011 9:08am

Subscribe [2]
  • #1 / Oct 04, 2011 9:08am

    Robin Berger

    23 posts

    Dear masters!

    I have a sidebar categories:

    <ul>
       <li>Category 1
          <ul class="parent">
             <li class="active">Sub Category</li>
             <li>Sub Category</li>
          </ul>
       </li>
       <li>Category 2</li>
    </ul>

    If I using style=“nested”, I cannot insert class=“parent” and class=“active” to style sub level category.

    Are there anyway help me?

    Thank you very much!

     

  • #2 / Oct 04, 2011 10:08pm

    Kevin Smith

    4784 posts

    Hi Robin,

    There’s nothing native in ExpressionEngine that will allow you to do this, but I can recommend looking at some of the fine add-ons over at Devot://ee like GWcode Categories. Those third-party add-ons provide extra functionality that should enable you to accomplish what you’re looking to achieve here!

  • #3 / Oct 05, 2011 4:53am

    Robin Berger

    23 posts

    Thank Kevin!

    That is precious help!

  • #4 / Oct 05, 2011 10:40pm

    Kevin Smith

    4784 posts

    No problem! Let me know if there’s anything else I can help with!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases