I see no submenu on mobile
-
Hello,
I have a menu-item (Work) with two submenu-items (Publications and Clients). On desktop I used the recommended css (like the 'nadine göpfert' website) to show the submenu, but on mobile the submenu doesn't appear. Can somebody help me please?
Best regards,
KennethWebsite: https://vandepavoordt.nl/
Browser: latest version of Chrome -
-
@mariusjopen Hello Marius,
I don't quite understand you. Do you mean that a sub menu is not visible in mobile view?
Cause on my website the submenu (under menu Work) is not been shown or merged. Hope you can explain that?
Website: https://vandepavoordt.nl/
Best regards,
Kenneth -
Dear @Kenneth
on my test theme the sub-page gets shown in the mobile menu.
Do you use any extra code which is connected to the menu?
Maybe you hide it by accident.Best!
Marius
-
-
@kenneth hey there! I was curious, how did you resolve this? This is the code I am using:
/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;
}
nav.primary li:hover .sub-menu{
opacity: 1;
pointer-events: auto;
}
/**/I tried changing the auto to none like you'd mentioned, but the submenus still don't show on Mobile. Would love any insight on this if you have time. Thank you!
-
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