Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Submenus on Megamenu

1 year 10 months ago #1

  • Cube's Avatar
  • Cube
  • Posts: 291
Hi,
On megamenu, I am implementing a 2 column menu and some have submenus. Any advice or suggestion on how to implement this? See sample attachment.
Thank you!
Attachments:

1 year 10 months ago #2

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 23122
Hello,

Thank you for contacting us!

Specify what exactly the problem is,
in the mega menu you need to add a menu plugin (layout > horizontal)

Best Regards,
Vyacheslav, Balbooa Support Team

1 year 10 months ago #3

  • Cube's Avatar
  • Cube
  • Posts: 291
I have Main Menu which has a lot of items and submenus. Can I break this into 2 columns. Let's say 14 items, break them into 7 on column 1 and 7 on column 2.

Do I need to create new 2 menus? Like menu 1 (for left column) and menu 2 (for right column).

1 year 10 months ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 23122
There is no such possibility.
You can create 2 menu modules with 7 items and place them in different columns.

Best Regards,
Vyacheslav, Balbooa Support Team

1 year 10 months ago #5

  • Cube's Avatar
  • Cube
  • Posts: 291
Thanks, Vyacheslav!
I already did it by creating 2 menu modules.

1 year 10 months ago #6

  • Rene's Avatar
  • Rene
  • Posts: 668
GB's weaknesses. Usually you can get away with it, but if the menu is really expanded you cannot escape a third party plugin.

1 year 10 months ago #7

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 23122
Hello,
Thank you for contacting us

Gridbox is very flexible and if options are not enough for you, you can use custom code. ;)

Best Regards,
Vyacheslav, Balbooa Support Team

1 year 10 months ago #8

  • Rene's Avatar
  • Rene
  • Posts: 668
No doubt GB is great!

But if you need a complex menu you will want to render it from one Menu tree. If you need several menus, this is very inconvenient for the mobile menu.

1 year 10 months ago #9

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 23122
Hello,
Thank you for contacting us

You need to add a class custom-menu for the menu and add the CSS code in your code editor
.custom-menu .main-menu .nav.menu {
    display: grid;
    grid-template-columns: 50% 50%;
}

Best Regards,
Vyacheslav, Balbooa Support Team

1 year 10 months ago #10

  • Cube's Avatar
  • Cube
  • Posts: 291
This is awesome, Vyacheslav!
Thanks for sharing.

1 year 10 months ago #11

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 23122
You are welcome ;)
Let us know if you need more assistance!

Best Regards,
Vyacheslav, Balbooa Support Team

9 months 3 weeks ago #12

  • Cube's Avatar
  • Cube
  • Posts: 291
Hi. This doesn't work anymore after upgrade to Joomla 4. Any thoughts? Menu items in one single line. Thanks.

9 months 3 weeks ago #13

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 23122
Hello,
Thank you for contacting us

Send us a link to page with problem.
And disable minification (if enabled)

Regards,
Vyacheslav, Balbooa.com

9 months 3 weeks ago #14

  • Cube's Avatar
  • Cube
  • Posts: 291
The issue can be found here:

9 months 3 weeks ago #15

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 23122
We don't see class and code from this post
support.balbooa.com/forum/gridbox/10269-...us-on-megamenu#47491

Regards,
Vyacheslav, Balbooa.com

9 months 3 weeks ago #16

  • Cube's Avatar
  • Cube
  • Posts: 291
.custom-menu and the code is added. It's exactly the same entries before the migration.

9 months 3 weeks ago #17

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 23122
You need to add the class menu in the module settings


Best Regards,
Vyacheslav, Balbooa Support Team

9 months 3 weeks ago #18

  • Cube's Avatar
  • Cube
  • Posts: 291
Pure Awesomeness! It works.

Thanks, Vyacheslav.

9 months 3 weeks ago #19

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 23122
You are welcome ;)
Let us know if you need more assistance!

Best Regards,
Vyacheslav, Balbooa Support Team
Powered by Kunena Forum