Forum Replies Created

Viewing 1 replies (of 1 total)
  • The solution is very easy through CSS. (after scratching my head for a couple hours trying to find a solution down the WP plugins rabbit hole)

    http://stackoverflow.com/questions/2091168/disable-a-link-using-css
    Thank you, Stack Overflow.

    Put this in your child theme:

    .page_item_has_children > a{
            pointer-events: none;
        }

    Basically, all parent menu list elements will have the “page_item_has_children” class. “> a” will select the actual link. Your child menu element should not be harmed. Your parent menu items will no longer be clickable.

    If your WP instance is in the cloud and you don’t want to go mucking about in the files by remote access just to create a child theme, I highly recommend Orbisius Child Theme Creator in WP plugin. It allows me to create child classes via a plugin. Super easy and plain if you know CSS. (and even if you don’t, it’s well worth it to learn…here’s my favorite CSS selectors cheatsheet: http://code.tutsplus.com/tutorials/the-30-css-selectors-you-must-memorize–net-16048)

    I hope this helps!

Viewing 1 replies (of 1 total)