Display Submenu in Mobile Menu
-
Hey friends, I have this code in Custom CSS:
/submenu/
nav.primary .sub-menu li{
display: block;
position: relative;}
.sub-menu{
padding-top: 10px!important;
opacity: 0;
transition: opacity 200ms ease;
-webkit-transition: opacity 200ms ease;
pointer-events: none;
position: absolute;
line-height: 40px;
background-color:rgba(255, 255, 250, 0.8);
}
nav.primary li:hover .sub-menu{
opacity: 1;
pointer-events: auto;
}
/**/But in mobile menu, there aren't submenus....
What can I do?Thanks
-
Dear @Txelo
in the mobile menu your code will not work.There you need to inspect the mobile-menu-structure and adjust the code.
Best!
Marius
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login