Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Because of your CSS:
.main-navigation ul ul {
border-bottom: 0px;
display: block;
left: -999em;
margin: 0;
position: absolute;
z-index: 99999;
}
You’ve set the submenu item to always be positioned off the screen (left: -999em) regardless of whether it’s opened or not.
Try adding this:
.main-navigation ul ul.toggled-on {
left: 0;
top: 100%;
}
Thread Starter
cestab
(@cestab)
Excellent, thank you very much that worked.
Thread Starter
cestab
(@cestab)
Hello, this has solved the mobile view but has effected the desktop, by keeping the menu open when an sub item clicked
Thread Starter
cestab
(@cestab)
Ok sorry I’ve solved this issue
Thanks