- This topic has 0 replies, 1 voice, and was last updated 4 years, 7 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Free and Premium WordPress Plugins & Themes Forums WordPress Themes Booklium Expand mobile menu on text click, not on arrow click
I am using a parent menu entry with submenu items. On a mobile device, this parent menu item only expands when clicking on the arrow.Is there any possibility of making the whole row / text clickable? So that wherever I click on that row, the dropdown menu expands?
ive added some css:
@media (max-width: 474px){
body.site-boxed .main-navigation .submenu-toggle, body.site-wide .main-navigation .submenu-toggle {
width: 100%;
}
.submenu-toggle:before {
float: right;
padding-right: 10px;
}
}
provisionally that do the trick but now the parent menu is not clickable any more on mobile.
i think it needs some jquery function which do this:
-first click on the text of the parent menu expand the drop down.
-second click on the text of the parent menu open the link of the parent menu.
how could that be realized with jquery?
thank you and best Regards
This website uses cookies
By clicking “Accept All”, you agree that we can store cookies on your device and disclose information in accordance with our Cookie Policy
Necessary Cookies
These cookies are essential for website functionality and cannot be disabled.
Advertising
These cookies, set by us and our advertising partners, aim to give you useful content and measure how well it works.
Analytics
These cookies help us improve performance by tracking user interactions on our website.