• Resolved maddoctor

    (@maddoctor)


    Here is my problem, I have a Revolution Slider created and I want when I click on a menu link to open a specific slide. It works flawlessly with the WordPress menu, using this code: jQuery(“#menu-item-5838 a”)
    where #menu-item-5838 is the item I’m looking for to check if it’s clicked or not.
    But this doesn’t work with the accordion menu.
    I tried many different variations, like #nextend-nav-5838 , which is the class that appears when I inspect the menu item on the accordion menu (and it’s similar to the wordpress menu option) but I can’t seem to find the correct class to call the correct menu item.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get menu item class’ is closed to new replies.