We can add additional class to submenu Suppose we have following structure:
In that case if we want
to
like below:
Use JQuery:
$("#menu ul.sub-menu").each(function(){
$(this).removeClass('sub-menu');
});
We can add additional class to submenu Suppose we have following structure:
to
like below:
Use JQuery:
$("#menu ul.sub-menu").each(function(){
$(this).removeClass('sub-menu');
});