Highlight Current Page in Navigation

Permalink
I would like to code the main navigation menu of my site into the HTML template. I need the appropriate nav button to remain highlighted when we are on the respective page. So when we are on the About Us page the About Us button is highlighted.

Is this possible with a template or will this have to be achieved using an add-on?

Thanks in advance,
Oliver

 
nige replied on at Permalink Reply
nige
Just been doing this in autonav. I dont know about hard coding it in but its probably the same..

check out:

http://www.concrete5.org/community/forums/customizing_c5/top_level_...

Nige

That link was wrong Ive just seen. The one above is the correct one if our still struggling with this...
yadielar replied on at Permalink Reply
yadielar
I suggest that you try to maintain the main navigation as an auto-generated nav if you can. It's much more convenient in the long run. concrete5 already adds a class to the current nav item which you can use to make it highlighted using css.

If you want to use images in the navigation,you can make an auto-nav template. Check out this link:

http://www.codeblog.ch/2009/12/image-navigation-items/...

If you are having trouble making the auto-nav template let me know.

Yad