Page 1 of 1

Using Menu-item aliases as Class

Posted: Wed Jul 14, 2010 2:10 pm
by baysaa

I have a simple question.

I wanted to print out the menu-item's alias on the <li> class attribute, instead of the item1, item2 etc classes. This is for a "List" type menu, not any of the legacy types.

For example:

Code: Select all

    <li class="home"><a href="...">Home</a></li>
    <li class="about-us"><a href="...">About us</a></li>
Any help will be greatly appreciated.

Thank you.

Re: Using Menu-item aliases as Class

Posted: Sun Aug 22, 2010 9:33 pm
I too would like to know the solution to this. I have seen it done on other joomla sites.