I have built a custom wordpress theme based on the bootstrap for wordpress version and I am trying to make the dropdown nav bar open on hover instead of on click.
I have found this answer here but it seems it addresses the original (none wordpress) bootstrap. Either that or It is just unclear to me how to implement it, but It looks like it is just different for wordpress.
I have almost managed to do it by replacing "click" with "hover" in the bootstrap-dropdown.js file but then I can't actually move the mouse to the submenu items as the dropdown disappears as soon as I move the cursor and the dropdown doesn't stay open.
Ideally it will be on hover for desktop and still on click for mobile but that is not a must. i'll sacrifice click on mobile for hover on desktop.
If anyone can help with this, that would be awesome.