• Resolved selmak

    (@selmak)


    Hi! Is it possible to only display child pages? Here is an example:

    Menu option (parent)
    – Menu option 2 (child)

    Menu option 2 is in a drop down menu. When Menu option 2 is clicked I would like to display the children from Menu option 2 (which can not be seen in any other way other than if Menu option 2 has been clicked). Right now the parent (Menu option), the child (Menu option 2) and the children from Menu option 2 are showing. I just want the second level of children to be showing (Menu option 2 children).

    Thanks in advance!

    https://www.ads-software.com/plugins/advanced-sidebar-menu/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mat Lipe

    (@mat-lipe)

    Hi Selmak,

    You could use the “always display child pages” option in the widget to show the child pages under Menu option 2 then use some creative CSS to hide Menu option 2. If you would like to send a link to where the menu is displaying I may be able to point you in the right direct with the css.

    Also if you uncheck the “Include Parent Page” it should remove the Menu option (parent).

    Cheers

    Thread Starter selmak

    (@selmak)

    Hi, thanks for your reply. I sent you an e-mail!

    Plugin Author Mat Lipe

    (@mat-lipe)

    If you add this to your active theme’s style.css which may be found at
    /wp-content/themes/sk_child_theme/style.css?ver=1.7

    It should get you close

    .advanced-sidebar-menu .child-sidebar-menu > li:before {
        content: "" !important;
    }
    .advanced-sidebar-menu .child-sidebar-menu > li > a {
        display: none;
    }

    Cheers

    Thread Starter selmak

    (@selmak)

    It worked, thank you so much!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Only displaying child pages’ is closed to new replies.