Add Arrow to Sub Menu


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. //Mark menu items with submenus
  2. $('#mainmenu ul.menu li ul.sub-menu').parent().addClass("has-sub-menu").append('<div class="dropdown_arrow"></div>');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.