Archived topic
Logo Left, Navigation Right
12 replies · Started by Heather on January 28, 2021
Hi there!
I'm using GP Premium and GenerateBlocks to build my site (iwfa.fit). I'm having an issue getting the logo to appear left of the navigation. On the home page, I can't get the logo to appear at all. On other pages, the logo is under the navigation items.
The logo size is 350x70. My guess is that I'm missing CSS code somewhere, but I don't know what that is. Any help would be appreciated.
Thanks!
Heather
Hi,
I've checked the site and it doesn't seem to be a CSS issue as there's no site-logo element rendering within its page source.
Can you check if confirm if there's a logo added to the site? You can check it on Appearance > Customize > Site Identity.
If there's a logo uploaded and assigned, does the site have a history of using generate_logo_output filter? Let us know.
Thanks for the response, Elvin. I did confirm that the logo is uploaded and assigned. I'm 90% sure there isn't a history of using the generate_logo_output filter. I haven't used it, nor would I know where or how to add it.
Thanks again!
Hi there,
in Customizer > Layout > Header - do you have the Navigation as Header option enabled ?
If so can you temporarily disable, this should display the site header above the navigation. Does the logo appear in the site header ?
Hi David,
I don't have it enabled. Not sure if you read my first post, but the logo appears on other pages on the site (not to the left of navigation). It doesn't appear at all on the home page.
Thanks so much for your response.
I believe the issue here is that the header is removed on the home page only.
Did you happen to remove it using the disable element metabox?
https://docs.generatepress.com/article/disable-elements-overview/
Hi Leo,
Thanks for the response. I didn't disable the Header, but I did disable the title so "Home" doesn't appear on the home page.
I did try something to make sure I wasn't going crazy. I did turn on Sticky Navigation and when I scroll down, the navigation is aligned exactly as I want it. How do I make that happen for a static navigation menu?
Thanks!
Can you try activating this option in the customizer?
https://docs.generatepress.com/article/navigation-as-a-header/
OK, now we're getting somewhere. The question that I have is how do I get the to appear above the site header element on the home page? It looks fine on the other pages.
How are you adding this section on the home page?
https://www.screencast.com/t/LG3qQRlF
Hi Heather,
The header on your home page is built with a Block element?
If so, could you confirm that you are usinggenerate_after_headeras hook?
Here's a visual hook guide for your reference.
https://docs.generatepress.com/article/hooks-visual-guide/#static-page
Let me know, thanks!
OK, got it! Thanks for the speedy response, Ying. The navigation looks great. Thanks to you and everyone else who responded for the help. I really appreciate it!
No problem :)