webweaver Posted December 25, 2013 Share Posted December 25, 2013 Is there a way in MarkupSimpleNavigation to keep the parent active when on one of it's child pages so that the navigation menu still shows the Parent highlighted? Link to comment Share on other sites More sharing options...
kongondo Posted December 25, 2013 Share Posted December 25, 2013 Maybe best to post this in the MarkupSimpleNavigation support forum.. http://processwire.com/talk/topic/1036-markupsimplenavigation/ Oh, and maybe this? 'parent_class' => 'parent', https://github.com/somatonic/MarkupSimpleNavigation Link to comment Share on other sites More sharing options...
webweaver Posted December 25, 2013 Author Share Posted December 25, 2013 Thanks Kongondo.. I already have the parent class => parent.. But not sure how to make that work for what I mentioned I'm trying to do. I wasn't aware of the support forum specific to MSN, but now I see it. Sorry to go against the grain, but I don't like the way that it works - it's just one thread with everything thrown into it. Would much rather see topics that address specific questions. Link to comment Share on other sites More sharing options...
Soma Posted December 25, 2013 Share Posted December 25, 2013 Kongondo is right. "parent_class" => "parent" is to set the class for parents of the current page. You don't have to do anything to make it work it just works, all parent list items will have a class="parent". Link to comment Share on other sites More sharing options...
webweaver Posted December 25, 2013 Author Share Posted December 25, 2013 I get it now, just need to setup my css to have the parent class also work like the current-menu-item class, duh Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now