Something like nav-selected for Parent page (to highlight parent while on child page?)
Permalink
I have the typical situation where there's a main top navigation and a left side navigation on subsections of the site. The top menu has nav-selected applied and the left menu also has nav-selected applied.
The problem is, when I am in Section -> Subsection A, I would like both menus to indicate that they are selected.
Is there a way to do that?
Screenshot attached if my explanation was difficult to follow.
The problem is, when I am in Section -> Subsection A, I would like both menus to indicate that they are selected.
Is there a way to do that?
Screenshot attached if my explanation was difficult to follow.
In your stylsheet just use the class ".nav-path-selected" instead of nav-selected
Even easier, but is that a new addition in Concrete 5.4? I didn't see it mentioned on any of the other posts on this forum about this subject.
I'm using 5.3.3 and don't plan on upgrading anytime soon because I see a lot of people's sites have broken and I'm just learning, the majority of info you can find on C5 applies to older versions, etc. so I don't need that kind of headache.
I'm using 5.3.3 and don't plan on upgrading anytime soon because I see a lot of people's sites have broken and I'm just learning, the majority of info you can find on C5 applies to older versions, etc. so I don't need that kind of headache.
COO-OOL!
For me and other n00bs, here is an elaborate explanation of what Marv said inhttp://www.concrete5.org/index.php?cID=7503...
1. Duplicate the autonav folder from concrete/blocks and copy it into root/blocks.
2. In root/blocks/autonav, change the duped view.php to as follows (copy and paste the entire code below, just replace everything)...