Different wrapping and css classes for different states of menu


/ Published in: TYPO3
Save to your folder(s)

Assign special CSS classes for menu item in different states.

By default just <li>|</li>-wrap without class.

Active state - li-wrap and class="active"

If active and one of subitems is selected then for parent item li-wrap and class="current" and for child - li-wrap and class="active"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.