Hi guys,
I have been asked to change the menu layout on a wordpress site.
when hovering over menu item 1, currently, the menu displays as such:
Menu item 1
--sub menu item 1
--sub menu item 2
The client has requested that the sub-menu's display inline as such:
Menu item 1
--sub menu item 1 --sub menu item 2
when hovering, there is some JS somewhere, that sets the <ul> container for sub-menu items display mode from "none" to "block", which leads to the current problem.
I need to change this JS to set the display mode to "inline" to achieve what I need, but for the life of me, I have been unable to figure out where exactly to find this function.
If anyone could advise where to find the JS responsible for the hover, would be much appreciated.
I have been asked to change the menu layout on a wordpress site.
when hovering over menu item 1, currently, the menu displays as such:
Menu item 1
--sub menu item 1
--sub menu item 2
The client has requested that the sub-menu's display inline as such:
Menu item 1
--sub menu item 1 --sub menu item 2
when hovering, there is some JS somewhere, that sets the <ul> container for sub-menu items display mode from "none" to "block", which leads to the current problem.
I need to change this JS to set the display mode to "inline" to achieve what I need, but for the life of me, I have been unable to figure out where exactly to find this function.
If anyone could advise where to find the JS responsible for the hover, would be much appreciated.