Whoops! And now it doesn’t work anymore… Did something change in the new version?
What I want to achieve is a centered menu with hovers. The menu should collaps to a hamburger on mobile. Another thing that broke is the mobile menu doesn’t dissapear anymore after clicking on a menu item.
This is the current css I use:
@media (max-width: 768) {
.main-navigation .main-nav ul li a {
text-align: center;
}
}
.main-navigation .main-nav ul li[class*=”current-menu-“] > a:hover {
background-color: #ff5a00;
color: #ffffff;
}