Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi wiyono

    i modified click code like this.

    // highlight the current menu item
    jQuery('ul.menu li').each(function() {
    	jQuery(this).removeClass('current-menu-item current_page_item');
    });
    jQuery('ul.menus li').each(function() {
    	jQuery(this).removeClass('current-menu-item current_page_item');
    });
    jQuery(thiss).parents('li').addClass('current-menu-item');

    check class of your menu (Class of UL )

    Thread Starter wiyono

    (@wiyono)

    Hi Makarand

    Thank you, i’ll try that

    Regard
    [sig moderated as per the Forum Rules]

    Makarand,

    I just wanted to thank you for this. This has helped me too! Great stuff!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Current menu problem…..’ is closed to new replies.