Reply To: Hiding the dropdown menu at the desktop level only

Home Forums Older releases 1.0.x + Bootstrap addon Hiding the dropdown menu at the desktop level only Reply To: Hiding the dropdown menu at the desktop level only

#2704
mcwu07
Participant

One more follow-up.

Using the code you provided above, would it be possible to target only a specific dropdown menu versus all dropdown menus.

The “#main-menu” targets the ul (all dropdowns).

I tried adding the li id (#menu-item-164) to the code to target the specific dropdown, but that didn’t work.

$('#main-menu #menu-item-164').bind('activate.smapi'

I also tried adding the li class (.menu-item-164) to the code to target the specific dropdown, but that didn’t work either.

$('#main-menu .menu-item-164').bind('activate.smapi'

Any help would be appreciated.

Thanks!

Register

You will be emailed a link to set your password.

Login

Lost password?