Archived topic
GP Premium – Mobile Menu touch to expand area limited
5 replies · Started by george on January 19, 2021
With GP premium when using a mobile menu the click/touch area around the arrow toggle is very limited and causes my new visitors to easily activate a menu link and not the menu arrow/toggle which in turn leads to frustration and higher bounce rates. Can the click/touch area around the arrow/toggle be increased?
If this cannot be accomplished through the front end, please consider this a feature request.
thank you.
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
Hi, yes of course, see
Just to confirm, are you referring to this area here?
https://www.screencast.com/t/2JKdoZh5rbm
If so try this CSS:
.main-navigation.has-branding .menu-toggle {
padding-left: 40px;
padding-right: 40px;
}
Thanks for your reply. No I am not referring to the hamburger mobile menu toggle. After you press this, the menu appears with ">" toggles for the submenus. I am referring to the ">" arrow symbols; the click/touch area left & right of the ">" is very limited.
Ahh I see. Try this CSS instead:
.main-navigation .menu-item-has-children .dropdown-menu-toggle {
padding-left: 40px;
padding-right: 40px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Personally, I always like to use a custom link for the parent menu item like this:
https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-link
Then you can click anywhere on the parent menu item to activate the submenu.
Let me know if this helps :)