This project is read-only.

MegaMenu columns

Sep 13, 2012 at 4:58 AM
Edited Sep 13, 2012 at 5:00 AM

How do I set the number of sub menu columns for the megamenu. It seems to be set to 3 but i cannot figure out where to configure the count. What I really need is the ability to adjust the sub menu column count according to the number of sub menu items.


Sep 13, 2012 at 5:19 AM
Edited Sep 13, 2012 at 5:49 AM

I actually figured this out. It is done in the splitSubMenu function located in Mega2DNN.js


Mar 14, 2015 at 9:07 AM
For that You have to add the width property in mega2dnn.cs file in the location ul.megamenu li .sub . Like

width:600 !important

After increasing the width when you add the Sub-menu it will automatically appear to the right side.