Mega Menu with Grid Columns

Posted in: Newspaper
Post count: 22

Hi. I want to make my menu with grid columns like your page mega menu:

mega menu

I think flyout menu is not useful for “main item > child item > child item” menu system.

Can I make my menu with columns?

  • This topic was modified 10 years by ns85gs.
  • This topic was modified 10 years by ns85gs.
Post count: 23312

Hi ns85gs,

Yes, it is possible to make your menu with columns. To achieve this it is necessary to create a page WP Custom Menu, element in Visual Composer and create your menu, then paste your page id and make it mega menu. The result will be like you can see in Newsmag demo (Travel item) – http://screencast.com/t/vPNZFiKUPhttp://demo.tagdiv.com/newsmag/

For create a page, please follow the steps below:
-firstly, create your menus from appearance -> menus section: http://screencast.com/t/5ntqLpyXaaJ
-add your items to your custom menus: http://screencast.com/t/Ff4S0quiv
-set a page like this and choose your menus and publish: http://screencast.com/t/dAfaYkWmmk
-then use the page ID an set it as mega menu for your menu item: http://screencast.com/t/yphGpD46V
Result: http://screencast.com/t/TEVNDFmT

You can consult our documentation about page menu here: https://forum.tagdiv.com/page-menu/

Hope this helps and let us know how it goes!

Thanks!

Post count: 22

Thanks Catalin for your detailed answer. But it is very long way for create a menu item. I don’t want create a page and WP custom menu for each menu item. I must use Visual Composer for this. I don’t prefer using VC except homepage. Because VC eat my cpu and memory.

Can I create columns on mega menu with custom css?

  • This reply was modified 10 years by ns85gs.
Post count: 23312

Hi ns85gs,

Yes, it is possible to create this columns without Visual Composer but you must have knowledge of HTML. First of all you have to create a new simple page with mega menu feature, then in your text editor you must put your content.
In this screenshot you can see an example of the table in HTML. http://screencast.com/t/RUmlzE6xPDx and the result should see here: http://screencast.com/t/XANkNO48gd
Practically, the mega menu feature allow your content in header.

Hope this helps and let us know how it goes!

Thanks!

Post count: 33

Hi,

Are you able to provide the HTML that you used for the Travel megamenu here: http://demo.tagdiv.com/newsmag/ ?

It would be great to be able to replicate it.

Thanks

Tom

Post count: 7909

Hi,

You can easily create your own layout, please check this topic – https://forum.tagdiv.com/topic/page-menu-unordered-list/

Thanks!

Post count: 33

Thanks for your reply. I see the one in the link still has a light grey border between the menu items.

How can I create one like the travel demo with the dashed lines between menu items?

Thanks
Tom

Post count: 33

Please ignore my post above – I think I’ve got it! THanks for your help.

Post count: 33

One more thing – there’s some styling elements I can’t seem to make work on the megamenu.

Specifically, I can’t seem to put fontawesome icons in front of my menu items, even though I’ve followed the guide. I also can’t seem to make my bottom row have a light grey background, despite setting it so in the VC settings. See screenshot:

https://snag.gy/ZNEaBD.jpg

Post count: 33

And is there any way to get rid of the dotted lines in between my menu items and make my menu items closer together?

Thanks

Post count: 7909

Hi,

Unfortunately the font awesome icons will not appear into the mega menu, as it was not tested in this regard. However you could try this custom css and see if the icon appear, but please note that it may not look good:

.td-mega-menu-page .wpb_content_element ul li a .fa {
display: inline-block;
}

To hide the border you can use this code – http://screencast.com/t/kQ7Hm3OK

.td-mega-menu-page .vc_wp_custommenu ul li {
border: none !important;
}

Thanks!

Post count: 33

Great, thanks.

And how would I make my last VC row have a grey bg? in VC I’ve made the bg grey but it’s not pulling through to the menu…

THanks you so much.

Tom

Post count: 7909

Hi,

Unfortunately it doesn’t pull also the row settings, sorry!
But you could target the menu item and add background color using custom css – http://screencast.com/t/8PrEArl5gT

.menu-item-xxx ul {
background-color: red;
}

Thanks!

Viewing 13 posts - 1 through 13 (of 13 total)
The forum ‘Newspaper’ is closed to new topics and replies.