Archived topic
Centering Block Site Header that contains an image
35 replies · Started by Bruce on January 11, 2023
I'm creating a site at https://brucel27.sg-host.com/
I am using a Block Site Header because I want to have the navigation below it.
When I first created it the block, it was just text and it centered perfectly. I decided to include the site logo to the left of the text.
It no longer centers above the page. Can you help me with centering it?
Thanks
Hi there,
I am using a Block Site Header because I want to have the navigation below it.
Have you tried to set the navigation location below the header first?
Let me know :)
I looked at Appearance > Customizer > Layout > Primary Navigation and don't see Navigation Location
Can you show me a screenshot of the Layout > Primary Navigation panel?
https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots
Can you make sure the navigation as header option under Layout > Header is not activated?
https://docs.generatepress.com/article/navigation-as-a-header/
OK, I unchecked use navigation as header,s and I had set Navigation Locations to below header before I set use navigation as header
So is the issue resolved in this topic?
No.
My initial problem was that I could not get the heading centered above the page after I changed from just text to an image followed by text. Can you help me with centering.
You can see what I am talking about at https://brucel27.sg-host.com/
Also, I want to use the navigation as header on my other pages, but I don't want the logo to show on the home page navigation.
I had opened another ticket for that, but haven't heard anything yet.
Is that just the site logo and site title?
If so I don't believe a custom block site header is required - can you set it to draft and let's try using the default header first?
I am already using a Block Site Header
I understand - and as I suggested above, it's likely NOT needed for the layout you are trying to create.
Can you set it to draft or remove it first?
It is the site title, but not the site logo
Can we try to take one step at the time and follow my suggestion here first?
https://generatepress.com/forums/topic/centering-block-site-header-that-contains-an-image/#post-2492047
Thanks.