KnpLabs/KnpMenu — Issue #25: root element 'class' attribute not rendered for separate children menus
Author: petesiss
Created: 2012-02-02 15:07:14+00:00
State: open

You can use the class attribute on a root element to define the class for the menu's

. So a menu that includes the root element will have the desired class.

However if you choose in a template to only render a child menu (so doesn't include that root element) then you seem to loose the ability to control that

class.

Is there a way around this?