Answer the question
In order to leave comments, you need to log in
How to make the parent menu item inactive?
Can you please tell me how to make the parent item in the WordPress menu inactive?
You need to make a drop-down menu for the site so that the child items are active, and the parent item is inactive. I just hovered over it, it is inactive, a submenu appeared, selected the desired item and that's it.
In the VI settings, you can select only existing pages or posts for items, but this is not necessary.
Answer the question
In order to leave comments, you need to log in
add an arbitrary link, in the "address" field write:javascript:void(0);
1. remove the href attribute and that's it, it's not a link
2. Or, if there is a click handler, add it to itreturn false; // отмена переходя по хештегу
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question