Two Megamenu instances on the same page

kconig11's picture
kconig11
Thu, 05/17/2018 - 11:49
#1
Two Megamenu instances on the same page

Is it possible to have a main nav  and a secondory nav using MD Megamenu on the same page? I run into problems every time I try to do this, any help would be greatly appreciated. 

Thanks!

cindy's picture
cindy
Thu, 05/17/2018 - 23:15

Hi,

Which version are you using? Drupal7 or Drupal8? Is it the latest version?

At front end, our Mega menu is a block, so you can display more than one menu. Just asign different megamenu blocks into the region you want 

If you could not do it, please send us your site url and admin account to check

kconig11's picture
kconig11
Fri, 05/18/2018 - 14:03

I can assign them, but the problem is only one will work as a megamenu with the md megamenu styling and functionality. Any other megamenu blocks placed on the same page have no styling and megamenu functioanlity at all; They display as a normal menu.

cindy's picture
cindy
Wed, 05/23/2018 - 06:26

Hi,

We have tested (2 megamenus at the same page) but see no error. You can check this http://prntscr.com/jlj1zy

Note: When custom css, each block Megamenu is wrapped by a tag div whose class name is: ac_wrap_menu- and Machine name menu
In our test case, they are ac_wrap_menu-main and ac_wrap_menu-menu-22
You should check and follow this class to customize style for each mega menu

kconig11's picture
kconig11
Wed, 05/23/2018 - 13:00

The problem is with the bootstrap theme, I need the megamenu to work properly with bootstrap and it only works on the first megamenu block placed. If I place any more instances of that menu block the megamenu dont work and it I delete the first instance of the block and place a new instance of the block the mega menu do not work at all even if it is the only menu block on the page. Please help me solve this, I have been stuck trying to get this to work properly with bootstrap for a while.

cindy's picture
cindy
Wed, 05/23/2018 - 22:30

Hi there,

Our developer is unavailable for some days because of his business. So, please wait for us. 

We will notify you as soon as he's back

Many thanks!

kconig11's picture
kconig11
Fri, 05/25/2018 - 08:43

Alright Thank You, an update is I found that I do not have these problems with MD Megamenu on my drupal instance running 8.5.0 but am having the problems on 8.5.3

cindy's picture
cindy
Mon, 06/04/2018 - 00:07

Hi,

We have checked our module megamenu with bootstrap theme and drupal core 8.5.3 as you reported above but see no problem. You can see these screenshots:

http://prntscr.com/jqhi5x

http://prntscr.com/jqhhx9

http://prntscr.com/jqhhrf

So, you can send us your site url, admin account and FTP account with screenshots of problems. We will check and help you to solve

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.