Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Re: Full-width Mega-Menu in Bootstrap

Home Forums Older releases 0.9.x Full-width Mega-Menu in Bootstrap Re: Full-width Mega-Menu in Bootstrap

#1676
admin
Keymaster

Hi kizony,

Ah, yes, when including lists in a mega drop-down, you would need to also set the “mega-menu” class to the sub menu’s root UL element. E.g. like this for the Yamm classic list sample:

            <!-- Classic list -->
            <li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">List</a>
              <ul class="dropdown-menu mega-menu">
                ...

The SmartMenus script needs this class in general for mega drop-down menus since it tells the script to neglect any unordered lists inside the mega sub menu. Without this class the script treats such lists like regular sub menus and that’s why it tries to position and show/hide them.

Let me know if you still have any troubles.

Cheers!