Sep 7, 2012 at 3:21 PM
Edited Sep 10, 2012 at 8:33 AM
I am creating my 1st theme and I am having a few difficulties trying to get my menu and sub menus to have different styles
I have a main menu styled in Parts.MenuWidget.cshtml but I am really struggling to change the layout of my sub navigation. The new Menu is called News and the menu widghet called NewsMenu and I am adding it on a layer also called News. I have
created an alternative called Widget-Name-NewsMenu.cshtml that I confirmed was correct with Shape Tracing.
The problems I have is
- How do i get my new alternate to display the news menu items with my own styling. I am currently deleting the @Display(Model.Content) a so that the alternate overrides the default not just adds to it but not sure how to get this working
manually with correct menu items.
I tried to use Orchard Documentation on creating a custom theme and themes already in the Gallery as a guide. Some themes have 2 or 3 different menu layouts in different sections. However they don't even have alternatives for the
menus so was wondering how they are making menus appear different?
Any advice or clues where to look would be greatly appreciated.