Auto Nav menus

Permalink
I am building a Concrete5 site but have come up against a small problem with the navigation.

I can insert a header nav block which works but I have some custom html to use from the source file and need to set up a custom template I think. Can anyone help point me in the right direction. Code below..

I can see there is CSS Class ('active') to work the on page element but this currently does not work in C5

Thanks in advance

Daivd


<div class="nav1">
<ul>

<li class="active"><a href="#">Home</a></li>
<li><a href="#">Values &amp; Vision</a></li>
<li><a href="#">Our Team</a></li>
<li><a href="#">News &amp; Events</a></li>
<li><a href="#">Our Causes</a></li>

<li><a href="#">Donate &amp; Support</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>

dhdesign
 
cannonf700 replied on at Permalink Best Answer Reply
cannonf700
Edit your main.css file to to change the li class from "active" to "nav-selected". Then remove this class from the html code (the header nav will auto detect this.

If you need a point of reference Concrete5's default template uses this concept to indicate the current page.
dhdesign replied on at Permalink Reply
dhdesign
Thanks works a treat!