Hi!
Further to my post on the Themeforest site, I am trying to find out how I can change the code so that the automatically generated sidebar navigation does not lead to blank pages for parent links. If I use CSS to hide pointer events, then the parent is no longer clickable at all which means that there are “dead” links in the side-bar navigation. Can these be changed to accordions somehow? So that when I click on a parent item, the sub-pages become visible?
Hey!
Please try adding following code to Quick CSS
.nested_nav li.current_page_ancestor > a {
pointer-events: none;
}
Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.
If that does not help, please elaborate more :)
Best regards,
Yigit
Hi inTandem!
not sure what you mean. Can you elaborate please? maybe you could use some screenshots to make things clear for us? use imgur.com or dropbox.
Cheers!
Andy
Hi!
Sorry for the delay – stuck with getting a project live. The attached image has further explanation. Hope it makes sense :)
Hi,
Maybe you could try an accordion plugin like this? https://wordpress.org/plugins/nextend-accordion-menu/
Regards,
Rikard