Close those submenu's on mobile view

You just build a responsive menu for your web site, with quit a few submenu items. But when visiting with a mobile device, all those submenu’s are automatically expanded.

When the parent menu items of those submenus have their own page, you could add this style to your stylesheet, starting at your first breakpoint:

#fwNav1 .fwNavItem .sub { display:none; }

It’s the easy way out when you just want a cleaned up menu.

Richard


tutorials mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Hi Richard,

Like to try this,

#fwNav1 in the tag field?

.fwNavItem in name field?

and the rest of the code

THX


tutorials mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Nope, the whole #fwNav1 .fwNavItem .sub should go into the Tag field.


tutorials mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options