1

I wanna create a simple mega menu that removes the annoying hover ul's and have a full width container with all the links of each category visible. Can I do this with just the CSS or will there be other factors I'll need to take into consideration.

I've found Magento2 has a pretty strict structure and changing one element can have a roll on effect on others. So I thought I'd ask first. Cheers.

4
  • Hi, @Azul_Falcone have you figured it out to convert the default menu to Megamenu. in Magento 2 Aug 10 '16 at 11:31
  • No, sorry. We ended up using a Mega Menu. Aug 10 '16 at 11:54
  • Paid or free Extension Aug 10 '16 at 11:54
  • I actually found a free one, but I can't remember the name of it, sorry. It wasnt available via Connect, so Google will probably be the only option. Aug 11 '16 at 8:33
1

You cant do megamenu only using alter css. you have to do changes strucutre for menu from vendor\module_theme\Block\Html\Topmenu.php file.

Megamenu for magento 2, you have to add/remove div for your requirements so its better to override Topmenu.php file and do chagnes as per your requirements of megamenu. Css is needed to do megamenu but only css cant help you.

Thanks.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.