• I just fixed this annoying trouble simply changing single quotes by double quotes in the code and adding “current_page_item” also.

    Now, its working like a charm \o/

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

  • The topic ‘FIXED: current-menu-item not work’ is closed to new replies.