SimonPadbury / WBST

Starter theme for WordPress, with Bootstrap and WooCommerce compatibility
MIT License
29 stars 14 forks source link

mega menu submenu width #2

Closed michellomp closed 9 years ago

michellomp commented 9 years ago

Hi I've installed your starter theme and i have a probleme with the width of the submenu in mega menu. I only have three columns in my mega menu so there's some blank space in the right of the menu. Do you know how could i do for the mega menu to have 1/3 width for each submenu

Thanks

SimonPadbury commented 9 years ago

Hi

A simple way to do this is to add some   after the child menu item title, within the WordPress menu builder. each column is as wide as the menu item with the biggest title.

Except for doing what I suggest above, it would probably require some JavaScript to calculate the column widths required to fill the 100% mega menu drop down, because I can't know how wide each user requires his columns to be, or how many columns he needs.

Hope this helps.

Simon

On 5 Aug 2015, at 20:59, michellomp notifications@github.com wrote:

Hi I've installed your starter theme and i have a probleme with the width of the submenu in mega menu. I only have three columns in my mega menu so there's some blank space in the right of the menu. Do you know how could i do for the mega menu to have 1/3 width for each submenu

Thanks

— Reply to this email directly or view it on GitHub.