This project is read-only.

Customize hierarchical navigation

Topics: Customizing Orchard, General
Mar 29, 2011 at 12:44 AM
Edited Mar 29, 2011 at 12:49 AM


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">
    <ul class="menu menu-main">


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 10: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.