New features Please use http://kentico.uservoice.com as the primary place to submit your suggestions and allow others to vote for your ideas!
Version 7.x > New features > CSS List Menu customization View modes: 
User avatar
Member
Member
stephen.turley-terradon - 1/17/2013 12:50:31 PM
   
CSS List Menu customization
I'd like to see transformations added to css list menus.

Also it would be nice if you could add a css class to a sub menu.
<ul class="menu">
<li class="menuItem">
<a href="#">Page</a>
<ul class="subMenu">
...
</ul>
</li>
...
</ul>

User avatar
Kentico Support
Kentico Support
kentico_janh - 1/18/2013 2:54:27 AM
   
RE:CSS List Menu customization
Hello,

There is no transformation for the CSS List Menu web part to edit, however if you want to set a different class for subitems you can take advantage of the CSS prefix property as it is described in our documentation:

http://devnet.kentico.com/docs/tutorial/index.html?adding_main_menu.htm

(point 5)

Best regards,
Jan Hermann

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 1/18/2013 8:53:05 AM
   
RE:CSS List Menu customization
You can use a Hierarchical Viewer and use transformations. Or you can use nested repeaters and get the same result. I chose a Hierarchial Viewer as it best suited my needs and worked great.

The reason there are no transformations added to the CMSListMenu is because it generates the unordered list and css automatically, all you have to do is build your css.