Display Submenu in Mobile Menu
-
Re: Drop down menu
I am having a Problem that is somehow similar, but not. I have a Submenu on the desktop version, but want all the Points to be visible in the mobile version. Can anyone help me out here. This is what i have in my custom CSS right now.Any help highly appreciated, i am really not familiar with code ;(
Here ist the Website i am talking about: http://new.transit-txt.ch
And the CSS
/submenu/
nav.primary .sub-menu li{
display: block;
position: relative;
}
.sub-menu li {
margin-top: 4px;
}.sub-menu{
padding-top: 30px!important;
opacity: 0;
transition: opacity 200ms ease;
-webkit-transition: opacity 200ms ease;
pointer-events: none;
position: absolute;
}
nav.primary li:hover .sub-menu{
opacity: 1;
pointer-events: auto;
}
/**/ -
Dear @billyben
the mobile menu should automatically take all the menu points from both menus together?That is not the case?
Best!
Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it