Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-07 02:56:50

christina.helen
Member
From: California
Registered: 2009-03-20
Posts: 38

Create active class for category

Hi. I am using:

<txp:category_list break="li" wraptag="ul" section="categories" />

for my category list and am wondering how to implement an active class for the category that is being viewed. Thanks for any help.

Offline

#2 2009-05-07 03:07:19

christina.helen
Member
From: California
Registered: 2009-03-20
Posts: 38

Re: Create active class for category

Duh….I added active_class="nameofmyclass" to the above code. Simple…

Offline

Board footer

Powered by FluxBB