Archived topic
Elements Header on Blog page doesn't show up
17 replies · Started by Ralf on July 24, 2019
Hi guys,
i am editing a new page and have to install a blog. i tried to make a header in "Elements" but it didn't show up even i connect the header to the page in "Display Rules" ...
And in the backend of the blog there is no possibility to connect to the Elemetens-header either...
Also when i deactivate the Navigation Menu, it is still visible... i need help - Thank you !
Hi there,
Can you check a couple of things first:
- There is content or HTML comment inside the page hero content box:
https://docs.generatepress.com/article/how-to-create-a-page-hero/
- The display rule you are using is set to the Blog page.
- No conflicts in display rules:
https://docs.generatepress.com/article/conflicting-display-rules/
Hi Leo,
in the content box is the following :
"<h1>NEWS // BLOG</h1><br>
<h3>Unsere Partner, Events und mehr </h3>"
the display rules in the backend are:
"Page / News Blog"
and i marked "no navigation" in "Site header", but the menu is still visible ...
the display rules in the backend are:
“Page / News Blog”
This should be the issue.
Have you tried my suggestion in the second point above?
https://generatepress.com/forums/topic/elements-header-on-blog-page-doesnt-show-up/#post-966167
perfect - the header is now visible, but why is the navigation not hidden ?
i did it in Elements (Site header) and in the backend of the site ...
Can you try creating a Layout Element to hide the primary navigation and use the same display rule?
https://docs.generatepress.com/article/layout-element-overview/#disable-element
Can you try creating a Layout Element to hide the primary navigation and use the same display rule?
https://docs.generatepress.com/article/layout-element-overview/#disable-element
i did and the navigation is hidden, but then there is no "Page Hero" to edit the header ???...
Not sure if I fully understand.
Looks like you are using this option so the header is the navigation:
https://docs.generatepress.com/article/navigation-as-a-header/
Can you explain a bit what you are trying to achieve?
Now i don't understand ... the Menu is always in the header on my sites... (?)
i have 2 pages on this website - "Home" a one-page Landingpage with Ankers and the "News Blog"
and for both i edit ELEMENTS header - different ones of course and on the blog header i deactivated the navigation, but it is still visible.
i don't want the Navigation on the blog page, because it doesn't work there, because this Navigation menu are just Ankers of the "Home" page, so i have to hide it on the blog page.
And in the old theme the deactivation of navi, header, footer etc. worked propberly, but in this new Element thingie not...
is there a CSS to hide the Menu on the blog page ?
Just making sure we are on the same page, you want to hide this element on this specific page?
https://www.screencast.com/t/jl5DppyGr
If so what didn't work when using this method?
https://generatepress.com/forums/topic/elements-header-on-blog-page-doesnt-show-up/#post-966278
when i create a new "Layout" in Elements, the menu is gone, but there is no way to edit the header, because there is no "Page Hero" Section... this Page hero section is just visible, when i create a new "header" in Elements... and when i do that, it is the same problem
If I understand you correctly, you would need two elements to accomplish what you have in mind:
- A layout element to hide the navigation.
- A header element to create the page hero.
Both of them can be assigned to the Blog page and shouldn't interfere with each other.
Does that make sense or I'm still missing something?
well... normally i just clicked on "no navigation" in the (header) Element in the tab "Site header" and the Navi Menu was gone... or deactivated the Navigation in the backend of the page
but if it has to be that way now, that i have to create 2 Elements for one side, to get this result, then you are right - i need a layout without Navigation and a header section i can edit
... my question is just "why"?... it always worked with just "deactivate primary navigation"
Ahh ok I see what you are saying.
normally i just clicked on “no navigation” in the (header) Element in the tab “Site header” and the Navi Menu was gone
Yes this option should work - Looks like there is a conflict when this option is activated.
https://docs.generatepress.com/article/navigation-as-a-header/
or deactivated the Navigation in the backend of the page
This won't work as WordPress ignores all metabox on index pages.
I'll take a closer look at the first issue :)