Archived topic
header not showing for blog post
23 replies · Started by Anton on December 10, 2019
Hi,
I found a few solutions for my issue, but doesnt seem to work for me.
The header is not showing for my blog posts. I created an element with <h1>Blog page</h1> as page header content, but still not working.
What am I overlooking here?
Hi there,
Are you using Header Element?
https://docs.generatepress.com/article/header-element-overview/
If so how many are you using? Some conflicts in display rules maybe?
https://docs.generatepress.com/article/conflicting-display-rules/
Let me know :)
Hi Leo,
I'm using one element as "blog post header" and one legacy page header as <!-- page header -->.
Only used the latter before (and it didn't work as well), but created the first after reading the other posts.
Can you take a screenshot of the page hero setting you have?
You can upload screenshots using the service like this and provide the direct links here:
https://postimages.org/
Also please disable Autopimize so I can see the source of the code better.
Let me know :)
[url=https://postimg.cc/mcm6T70j][img]https://i.postimg.cc/mcm6T70j/page-hero-1.jpg[/img][/url]
[url=https://postimg.cc/6Tkb6W1k][img]https://i.postimg.cc/6Tkb6W1k/page-hero-2.jpg[/img][/url]
[url=https://postimg.cc/ctnD726k][img]https://i.postimg.cc/ctnD726k/page-hero-3.jpg[/img][/url]
[url=https://postimg.cc/vDgSdgX7][img]https://i.postimg.cc/vDgSdgX7/page-hero-4.jpg[/img][/url]
Autoptimize is disabled.
Can you remove the old page header?
And what happens if you create a post without using Elementor?
If that still doesn't work, can you disable all plugins except GP Premium?
Well, the old page header is the header I need for any other page.
Would it help if I gave you login ?
Are you able to use the replicate the old page header into the header element module?
For some reason I'm seeing both page header and header element code on that page.
Have you tested what happens if you create a post without using Elementor?
I'll also need to see the page with all plugins except GP Premium disable as I'm seeing some funky codes.
Sorry, I don't really understand what I have to do to check what you said?
Do I have to turn off the old header and test that way?
Yes please :)
Also Autopimize is still on from what I can see.
OK, now it's turned off and it seems to be alright now!
I just see a big white bar on top of each page.
That's the header. Try setting all the padding to 0s:
https://docs.generatepress.com/article/header-padding/
Great! Almost ok!
I want to put the background color of the menu on transparent when it's on top. When I try to do it via Elements, for some reason it goes back to non-transparent?
Not sure if I understand.
Which page should I be looking at?
All of them. The background color of the header is dark blue. This should be transparent.