Drop down menu problems

Hi all,

I managed to create the menu that I wanted in the main content area of my webpage.

However, when I moved it into the header (as I want it to appear on all pages), I started having many problems.

  1. The menu has hidden container drop down menus below the main headings. I don’t want my header to need to be as high as my entire menu (incuding the drop downs). I want the drop downs to appear over the top of the content, just below the header. I’ve tried having 2 strips in my header, the 2nd one having all the drop down items and this being collapsed and expanded - but it pushes down the main page content - I want the menus to appear ontop of the contant (overlapping rather than pushing content down)

  2. As soon as I move my meny into my header, all of my event handlers disappeared - is this normal?

  3. The wixlocation.to function no longer works if the user is on the same page as the menu item they click on. I still want the page to reload as I am passing data to the page using wix-storage setitem and getitem functions.

Can anyone help with any of these items?

Thanks in advance

Did you see the Mega Menu example ? You can use the techniques and methods demonstrated there. Or you can just use the Mega Menu on your site.

Yes thanks Yisrael. I did see that. But as soon as it’s inside the header of my site, I’m having the same issues mentioned above in 1 and 3.

The menu I created works perfectly when it’s sitting in the main section of a web page. But as soon as I placed it in my header was where all the issues began.