Main page has always nav-path-selected

Permalink 2 users found helpful
I think most of us use sitemap like this.

Main page
+ Page 1
+ Page 2
+- Page 2.1
+- Page 2.2
+ Page 3

By using auto-nav, the Main page get's the "nav-path-selected" class for li and a, no matter what is the current page. In some cases that's ok, but most of time Main Page and it's child elements should be at the same level.

If I exclude the root from everywhere and Page 1 would be my new Main page, users get the root page anyway by coming to my domain's root. I'm C5 newbie and not sure if I miss some very basic things with auto-nav and site structure here.

orisinal
 
elyon replied on at Permalink Reply
elyon
I think I had the same problem.

Try clicking on the auto-nav block, then selecting custom template. I think there is a "header nav" template that works well
orisinal replied on at Permalink Reply
orisinal
Nice, thanks for you and C5! I changed to "Header Menu" template and that fixed the problem.

* EDIT *

Well, now the navigation is flat, so there are no separate uls or even classes for subpages. So...should I make my own template or what?
hursey013 replied on at Permalink Reply
hursey013
Very helpful, thank you!
SteveAtParadigm replied on at Permalink Reply
Thanks, that helped me out too ;)
jordanlev replied on at Permalink Reply
jordanlev
A better solution (which doen't force you to have a single-level menu) is this:
http://www.concrete5.org/community/forums/customizing_c5/autonav-pr...

(I've also included this fix in the free Autonav Exclude Subpages addon which fixes some other quirky autonav behaviour as well):
http://www.concrete5.org/marketplace/addons/autonav-exclude-subpage...