Navigation Tree customization

Hello Everyone, I want to customize the navigation tree in Mendix. To display the label below the icon, when the navigation tree is collapsed and when navigation tree is expanded, display the label and icon horizontally (By default, this is Mendix feature in navigation tree). Attaching a sample image below, I want similar navigation menu styling in Mendix web App.   Thanks in advance. Looking for the feedback. 
1 answers

I think when you collapse/expand the menu Mendix adds a CSS class to the expanded element. You can target that class and based on that with some CSS and or JavaScript get what you want.