- This topic has 9 replies, 3 voices, and was last updated 4 years, 3 months ago by Tom.
March 28, 2017 at 2:26 pm #298653Josu
Hi, im using Generate Press without any header, just primary navigation (because i want my menu to show on the center, not on the floating on the right side).
Is there some way to have a height size of 60 for the primary navigation and 45 for the sticky navigation, so when i scroll down the menu would get smaller.
I´d like to be able to do that while keeping my primary navigation menu aligned on the center, is it possible?
Thank youMarch 28, 2017 at 2:35 pm #298658LeoStaffCustomer SupportMarch 28, 2017 at 2:52 pm #298667Josu
Hi, sorry, i just realized that its not possible to have a centered menu when you have a logo there, the size of the logo pushes the menu to the left… Is there any way to move the menu a little bit to the left so it will be still on center while having a logo on the left?
And about the sticky navigation size, i´d like to have a sticky navigation menu when you scroll down smaller than the normal one at the top of the page.March 28, 2017 at 2:56 pm #298669LeoStaffCustomer Support
Can you give this CSS a shot?
Let me know if it works.March 28, 2017 at 2:59 pm #298671LeoStaffCustomer Support
Actually looks like you are using transition so this code should do:
Let me know.March 29, 2017 at 6:05 am #298884Josu
Hi, thanks for the help! this code worked to make the sticky navigation bar with a different size, i could make it smaller, however then the menu was showing more to the top of the sticky navigation bar, and the logo more down. They were not centered. So I decided im going to leave the height of the sticky navigation bar the same 60 pixels, not a big deal.
But what i would really like to do is to center the menu, when i put a logo, it automaticly pushes the menu little bit to the right. Is there some way to moove the menu some pixels to the left, so when i put a long logo, the menu it will still look on the center and not on the right side.
Thank youMarch 29, 2017 at 7:35 am #298918LeoStaffCustomer Support
I think you can try adding the logo into the navigation:
Let me know if this works before we try the CSS route.March 29, 2017 at 10:27 am #299013TomLead DeveloperLead Developer
If you want the menu to stay centered even with the logo in there, this might help: https://generatepress.com/forums/topic/navigation-alignment-center-not-centered-due-to-logo/#post-274414March 29, 2017 at 11:32 am #299065Josu
Hi, thanks to Leo and Tom, i´ve added de CSS code and it worked just like i wanted. Thanks a lot really.March 29, 2017 at 11:38 am #299070
- You must be logged in to reply to this topic.