Archived topic
menu going to the left
5 replies · Started by kanada on September 2, 2020
before implemented this tutorial, my menu align center, but after follow the instruction, my menu go to the left
how to fix it
https://docs.generatepress.com/article/adding-buttons-navigation/
Hi there,
that should not affect the layout.
Can you try clearing any cache plugins you're using ?
If still an issue try adding this CSS:
@media(min-width: 768px) {
.main-navigation ul {
display: flex;
justify-content: center;
}
}
oh I'm sorry, i not using this code
@media(min-width: 768px)
because I want to show it on desktop
Hi there,
Is the navigation alignment option set to center in Customize > Layout > Primary Navigation?
Yes, like I said before, before implemented this tutorial, my menu looks fine
Please check projasaweb.com
The CSS in that documentation should not move the menu.
Can you disable the caching plugin so we can take a closer look at the code?