When you hover over the menu all visual effects is correct. But if you press on a menu item, than the subitems will stay locket at the same place. Please have a look at the demo page “About”.
I like to know if there is a way to only view the hover option with the desktop version. And only view the press(active) version with the mobile version.
I hope you are well today and thank you for your patience here.
When you hover over the menu all visual effects is correct. But if you press on a menu item, than the subitems will stay locket at the same place. Please have a look at the demo page “About”
This is the default behavior of Bootstrap framework that we have used in our theme. You can confirm it on the following Bootstrap framework nav menu demo page.
I like to know if there is a way to only view the hover option with the desktop version. And only view the press(active) version with the mobile version.
You can try using the following CSS code.
@media all and (min-width: 767px) {
.menu-item-has-children:hover > ul {
display: block;
}
}
If you want to make the top level menu link visited on clicking on it then you can use the solution posted in the following reply.