How can I add an additional attribute to menu item I am using mega menu?
On element inspect my current menu url is displaying as :
<a class="we-mega-menu-li activeNav" title=""href="/clients/drupal/abc/fr/home#xyz" target=""> something </a>
I need to create it as :
<a class="we-mega-menu-li activeNav" title="" data-target="xyz" href="/clients/drupal/abc/fr/home#xyz" target=""> something </a>
I have used menu links attribute module but its not working with mega menu any other suggestions by doing some custom code?