By live4speed on
I'm having trouble with my main navigation menu. At the moment I'm working with it stripped-down, only 4 parent items and one with one child item. But unless I navigate to the parent page which contains the child item, Drupal is not writing the necessary UL/LI syntax which contains the child item.
When I'm on any page except the parent page which contains the child:
<div class="head-menu">
<ul class="menu menulist">
<ul>
<li><a href="/">Link 1</a></li>
<li><a href="/">Link 2</a></li>
<li><a href="/">Parent</a></li>
<li><a href="/">Link 4</a></li>
</ul>
</ul>
</div>
When I'm on only the parent page which contains the child, and the drop-down functions fine:
<div class="head-menu">
<ul class="menu menulist">
<ul>
<li><a href="/">Link 1</a></li>
<li><a href="/">Link 2</a></li>
<li><a href="/">Parent</a>
<ul>
<li><a href="/">Child</a></li>
</ul>
</li>
<li><a href="/">Link 4</a></li>
</ul>
</ul>
</div>