Menu template not picking up css classes
Posted: Wed Oct 08, 2014 5:53 am
I'm using 1.11.10 and I am trying to get the cssmenu_ulshadow.tpl menu to work on my website. I have my own template and stylesheet
In my template i have this:
The problem is the menu is not getting styled.
I checked the code on the page and it doesn't seem to be using the classes like the default template does when it uses that menu.
I'm getting:
The default template has classes on the <li> like <li class="menuactive"> and <li class="menuparent">
Why are the classes not showing up on my template?
In my template i have this:
Code: Select all
<div id="page-menu">
{menu template="cssmenu_ulshadow.tpl"}
</div>
I checked the code on the page and it doesn't seem to be using the classes like the default template does when it uses that menu.
I'm getting:
Code: Select all
<div id="page-menu">
<div id="menuwrapper">
<ul id="primary-nav">
<li><a ><span class="sectionheader">About</span></a>
<ul class="unli">
<li>
<a href="#"><span>Founder</span></a>
</li>
<li>
<a href="#"><span>President</span></a>
</li>
<li class="separator once" style="list-style-type: none;"> </li>
</ul>
</li>
Why are the classes not showing up on my template?