Archived topic
Show single main menu item instead of hamburger menu
23 replies · Started by Oliver on June 7, 2022
Just delete this CSS:
.inside-header nav#site-navigation {
margin-left: 300px;
}
Perfect! that did it... Thanks a lot and have a nice day!
Glad to hear that!
David I´m sorry, I just noticed that there is no hover effect anymore like before. It used to turn white with grey borders on hover on desktop. Can that be fixed at least on desktop?
Can you share the link to the site again ?
Try this CSS:
@media(pointer: fine) {
.main-navigation #primary-menu.main-nav ul li.nav-button:hover a {
background-color: #fff;
border: .5px solid #222222;
color: #000;
}
}
That will add the hover effect on devices that support a mouse.
Amazing! It works perfectly, thanks a lot David
You're welcome