我使用FoundationPress作为启动主题,并试图将submenu
. 我的主题基本上生成如下菜单:
<ul>
<li class=" first-level has-dropdown">
<ul class="submenu>
<li class="second-level"><a>link</a></li>
<li class="second-level"><a>link</a></li>
<li class="second-level"><a>link</a></li>
</ul>
</li>
<li class="first-level"><a>link</a></li>
<li class="first-level"><a>link</a></li>
<li class="first-level"><a>link</a></li>
</ul>
我想得到的是:
<ul>
<li class=" first-level has-dropdown"></li>
<li class="first-level"><a>link</a></li>
<li class="first-level"><a>link</a></li>
<li class="first-level"><a>link</a></li>
</ul>
<div class="submenu>
<li class="sub-menus-of-all-levels"><a>link</a></li>
<li class="sub-menus-of-all-levels"><a>link</a></li>
<li class="sub-menus-of-all-levels"><a>link</a></li>
</div>
我在定制步行器方面遇到了麻烦。我如何解决这个问题?