Archived topic
Centering logo on sticky nav
8 replies · Started by Mårten on September 11, 2019
Hi,
I followed the instructions to centering logo in the navigation. https://docs.generatepress.com/article/centering-logo-navigation/#add-your-logo-to-the-navigation
But when i activated the sticky nav and upload the logo, the menu appears on the right side of the logo. What can i do so the logo and the navigation appears on the same place?
Thanks!
Hi there,
can you add the Sticky Navigation logo and ill take a look.
Hi,
Now it´s done!
Try adding this CSS:
#sticky-navigation .navigation-branding img {
margin-right: 0;
}
#sticky-navigation .main-nav {
flex: 1;
}
YES!
It´s looks perfect.
Thank you so much! :)
Glad to be of help
Hi,
Thank you for helping me with the sticky nav earlier. But now the sticky navigation has disappeared. Do you know what the problem may be?
Hi again,
Never mind. I managed to fix it myself. :)
Thanks anyway!
Glad you've figured out :)