Archived topic
How can I put more into mu main menu ?
3 replies · Started by Robert on October 25, 2022
Viewing posts 1–4 of 4
Hi
How can I put more into mu main menu ?
On this moment even my MENU has 5 points (the last one is KONTAKT, but I can't see it)
- so I can se only 4...
https://snipboard.io/aQeSlW.jpg
Kr
Robert
Hi there,
you have this CSS on your site:
.main-navigation:not(.toggled) .main-nav > ul {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}
Which is causing the menu to overflow on smaller screens.
Delete that CSS.
Then to center the navigation use this:
@media(min-width: 820px) {
.main-navigation:not(.toggled) .inside-navigation {
display: flex;
}
.main-navigation:not(.toggled) .inside-navigation .main-nav {
margin: auto;
padding-left: 56px;
}
}
thx :)
You're welcome
This archived topic is closed to new replies.