Adding new Menu

Waysti's picture
Tue, 07/26/2016 - 06:29
Adding new Menu

Hey there,

i actually want to add a second menu, which will be shown only on specific pages.

So i create the Menu und a Block for it.

Changed the standard menu in the database. And added a function in template.php like the one for the onepage_menu.

The new Menu works on the site, but design is not like the hero-menu should look like.

Here's a picture of it:

So my question is, is there a possibility to add a new menu with the theme style to the site.

I searched a lot through the code, but found nothing helpful.



phuonght's picture
Wed, 07/27/2016 - 00:00


Please open file template.php, find 2 functions below:

 function md_hero_menu_tree__main_menu($variables)

 function md_hero_menu_link__main_menu($variables)

they are 2 functions override template for menu.

Please copy them and edit ID menu then it will work.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.