Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #543275

    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?

    #543278

    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

    #543279

    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

    #543744

    Hi!

    Sorry for the delay – stuck with getting a project live. The attached image has further explanation. Hope it makes sense :)

    • This reply was modified 9 years ago by inTandem.
    #544066

    Hi,

    Maybe you could try an accordion plugin like this? https://wordpress.org/plugins/nextend-accordion-menu/

    Regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.