Highlight only the currently selected page, fourth level elements. (Parent, not children)
Permalink
I have a multi-level menu, and I want to have is the current page highlighted, and yes, I have nav-selected in my CSS to highlight.
This works fine however the child elements are also highlighted when the parent is selected. (Forth level elements)
As a result, I am looking for a way to have only the current page (parent on multi level menus, and not the children of the parent) to be highlighted.
I have looked for a workaround with PHP in the block, but I cannot help but think there is a simpler solution.
PHP post (http://www.concrete5.org/community/forums/block_requests/nav-php-code-to-create-a-new-css-id-for-each-level-of-menuunorde/#283016)
This works fine however the child elements are also highlighted when the parent is selected. (Forth level elements)
As a result, I am looking for a way to have only the current page (parent on multi level menus, and not the children of the parent) to be highlighted.
I have looked for a workaround with PHP in the block, but I cannot help but think there is a simpler solution.
PHP post (http://www.concrete5.org/community/forums/block_requests/nav-php-code-to-create-a-new-css-id-for-each-level-of-menuunorde/#283016)
This is a template for autonav that allows a little more specificity.