Menu toggle only working once after click
-
Hello, using underscores and trying to add a menu toggle for mobile. It shows up but once I click it to expand, and click it to hide, it stops working. I’ll link my header, navigation.js, and paste my css.
CSS:
`.menu-toggle,
.nav-menu.toggled {
display: block;
}
.nav-menu.toggled li {
width: 100%;
text-align: right;
}
.main-navigation, .nav-menu.toggled, .menu-toggle {
float: right;
}
.main-navigation ul {
display: none;
}
.menu-main-menu-container {
float: right;
}`
The topic ‘Menu toggle only working once after click’ is closed to new replies.