Customize hierarchical navigation

Topics: Customizing Orchard, General
Mar 28, 2011 at 11:44 PM
Edited Mar 28, 2011 at 11:49 PM

Hello.

I am trying to customize the navigation menu. I am using the hierarchical menu module available on the orchard gallery.

My requisite is very simple. I need to change the code rendered as 

 

<div class="zone zone-navigation">
<nav>
    <ul class="menu menu-main">
         ...
    </ul>
</nav>
</div>

 

by simply adding an ID and a CLASS attribute to the NAV tag. Is this possible and what should I customize to achieve this?

Thanks a lot for helping

Mar 29, 2011 at 9:41 AM

That's in Layout.cshtml, just copy it from TheThemeMachine/Views into your own theme's Views folder, and change whatever you need.