Archived topic
Center Logo missing
7 replies · Started by Paul on April 12, 2018
I am using the method to allow a centered logo in the nav.
I noticed the centered logo is visible on desktop but not on smaller screen widths like 12in netbook.
I then found the post where you suggest we add some CSS
(https://gist.github.com/generatepress/282078076cd8631c17717d5b8640c043)
But still the logo is missing at 1024 width
http://quirktools.com/screenfly/#u=http%3A//crazybrit.us/hfh1/&w=1024&h=600&a=1&s=1
Hi Paul,
Try removing the hide-on-tablet class from the menu item.
I just updated the instructions and CSS here: https://docs.generatepress.com/article/centering-logo-navigation/
Yes, that adjustment worked perfectly
Thank you!
You're welcome :)
May I ask how to adjust the break-point for when the hamburger menu kicks in on the primary menu?
https://www.screencast.com/t/qy3eBD7EF
I would like it to display the hamburger menu before the menu items wrap around to a second row
Thank you
This might help: https://docs.generatepress.com/article/mobile-navigation/#initiating-the-mobile-navigation-at-a-different-width
This method has been greatly simplified in GP 2.1, which is currently a release candidate: https://github.com/tomusborne/generatepress/issues/63
Let me know if you want to use 2.1, and I'll provide the updated code :)
The first link was a massive help.
Thanks!
No problem :)