mobile menu different number of levels to desktop view
Permalink Browser Info Environment
Hi again
Thank you yes the burger menu now changes colour as per the settings.
Another question - the desktop view has 2 plus levels of navigation - is it possible to set the mobile view to less than the desktop view ? otherwise it is VERY long.\
Thank you
Mara :)
Thank you yes the burger menu now changes colour as per the settings.
Another question - the desktop view has 2 plus levels of navigation - is it possible to set the mobile view to less than the desktop view ? otherwise it is VERY long.\
Thank you
Mara :)
Type: | Pre-Sale |
---|---|
Status: | In Progress |
Yes, you can hide excess side menu items using CSS.
In your theme's CSS file (or if you're using a "custom" skin in the Mega Menu block, you can add the code there):
This article explains child selectors:
https://css-tricks.com/child-and-sibling-selectors/...
So you could hide 2nd level submenu items with this:
Every menu item has a unique CSS class that starts with "pl", so you can isolate specific menu items. Eg. "sub_menu pid-432". So to hide 2nd level children of this specific submenu:
Hope this helps.
JB