• Resolved slimonl

    (@slimonl)


    Hi,
    None of my “parent pages” are actual pages, just placeholders for the parent-child relationship on my menus. I figured out how to disable an individual parent page link, but I was wondering if there’s a way to disable all parent page links as a group. My “individual” approach looks like this in Additional CSS:

    .page-item-9019 {
    pointer-events: none; 
        cursor: default; 
    }

    This disables the Technology page. But I will need to do this for 7 other pages. Please let me know if I should use this approach or if there’s a better one. Thank you! BTW Advanced Sidebars Menu is an awesome plugin. -Licia

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter slimonl

    (@slimonl)

    okay, as an update, my CSS code shown above disables ALL Links, including my Child pages, so it’s no solution at all. ?? Hope you can help!

    Plugin Author Mat Lipe

    (@mat-lipe)

    Hi Slimonl,

    Sounds like this is the CSS you are looking for:

    .advanced-sidebar-menu .child-sidebar-menu > li > a {
        cursor: default;
        pointer-events: none;
    }

    Have a great day!

    Thread Starter slimonl

    (@slimonl)

    Thank you so much, Mat. That did the trick. -Licia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Advanced Sidebar Menu – disable links on Parent Pages’ is closed to new replies.