I’ve been digging for documentation on how to change HTML output for the “Custom menu” which you place in optional widget. So its clear what I meen I have attached an image of the widget block here:
The output from this element is looking like this:
<div class="nav_menu-8 widget_nav_menu col-sm-4"> <div class="menu-expo-container"> <ul id="menu-expo" class="menu"> <li><a href="http://xxxxx.com/test1">Test 1</a></li> <li><a href="http://xxxxx.com/test2">Test 2</a></li> </ul> </div> </div>
It is this code structure I want to change so it fits my needs. How and where do I change it? Is there some code source I can reuse and and to my functions.php?
Read more here: Change HTML structure for custom menu in sidebar