Hello,
Use the custom class for such menu items http://prntscr.com/giqj4t And the following code in Custom CSS
.pointer-events-none > a { pointer-events: none; }
Regards