imuir-piehead
-
2/10/2011 2:38:01 PM
CMSListMenu drops Menu Item CSS Class
I'm currently using the CMSListMenu control to render my site's navigation.
I'm using the Menu Item CSS Class to set a background image and width for each of the nav items. Unfortunately, the Menu Item CSS Class is not present when an item is the highlighted item.
For example, normally, my link would render as:
<li class="myMenuItemCssClass"><a href="url to page">Page Name</a></li>
When the link is the current item, it renders the following instead:
<li class="CMSListMenuHighlightedLI"><a href="url to page">Page Name</a></li>
Essentially, the highlighted class replaces my class, rather than appending to it.
Is there anyway to force the List Menu to always use my class?
|