How you think I can resolve it?
I know is not w3c standard, in alternative can I add attributes to <li>
element?
So:
<ul>
<li ... onclick="document.location.href='$item->url';"><a ...>item</a></li>
</ul>
There is some filter I can use?
The intent is to make more easy to the user navigating with smartphone to simply touch the menu item <li>
to go to the page link, so not exclusively touch text inside menu item (<a>
).
-
This reply was modified 8 years, 1 month ago by steplab.