Remove Navbar links

Permalink
Hi Guys,

I Have a situation like this on my navbar
a
b
child 1
child 2
c

Currently clicking on be redirects to a page.
I want to remove the link so that I don't get redirected when clicking, but still see the child pages when hovering over.

Any advise?

Thanks in advance.