By mths on
The menu by default outputs lots of html like the example underneath. How can I change this? I'm not sure what template or function to edit and how.
I want something simple like this:
<ul class='menu'>
<li class='first'><a...>...</a>
</li>
</ul>
instead of:
<span id="thmr_69" class="thmr_call">
<div id="block-menu-primary-links" class="clear-block block block-menu">
<div class="content">
<span id="thmr_63" class="thmr_call">
<ul class="menu">
<span id="thmr_56" class="thmr_call">
<li class="leaf first">
<span id="thmr_55" class="thmr_call">
<a href="/m/drupal/content/one" title="one">one</a>
</span>
</li>
</span>
</ul>
</span>
</div>
</div>
</span>
Comments
...
Turn off the theme developer module, that is what is inserting all the additional spans.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
haha! is i really!
can't believe, amazing.