- This topic has 8 replies, 3 voices, and was last updated 3 years, 11 months ago by
Leo.
-
AuthorPosts
-
June 9, 2019 at 1:13 pm #924271
Daniel
Hello,
I am using the Demo “Branded” and I would like to use the Element “Transparent Header” on posts and Blog page.
The “Transparent Header” is an Element that created by default on Demo.I have tried with all possible combination in “Display Rules” tab.
Please, help me to extend the Element created to the Blog page and posts.
Thank you!
June 9, 2019 at 2:06 pm #924296David
StaffCustomer SupportHi there,
you would need to create a new Header Element for the single post and one for your blog.
This example here shows the settings for a merged header that will work on a single post. You won’t need the PHP or CSS unless you want to add the author details to the header element:
https://docs.generatepress.com/article/page-hero-examples/#example-2
You can create another one for the GP blog page. The only difference being is you would need to:
1. Add a Blog title manually in the header element eg.
<h1>Blogo</h1>
2. Select a Custom Image for the background instead of the Featured Image.June 16, 2019 at 3:08 am #931129Daniel
Hello,
But… What it is the difference? I am using the same configuration (https://docs.generatepress.com/article/page-hero-examples/#example-2) and not works.
My web is https://lorenafrasquier.com and one post could be https://lorenafrasquier.com/sexologia/sexualidad-y-enfermedad-cronica/
June 16, 2019 at 3:11 am #931131Daniel
I would like to know why one Element works fine on the pages but not on the posts… I dont get that the same element (or other Element) dont works fine in both.
June 16, 2019 at 3:15 am #931135David
StaffCustomer SupportDoes the Header Element for your Posts contain anything in the content area?
If not the add a HTML comment for the header to display eg.<!-- Featured image hero -->
This won’t display on the frontend but will force the header to be displayed.
June 23, 2019 at 8:53 am #938743Daniel
Yes, I have introduced “<!– Featured image hero –>” but not show it.
I do not get activate Element in posts, but yes in pages.
June 23, 2019 at 10:17 am #938788Leo
StaffCustomer SupportSorry I’m confused.
What do you want in the page hero for posts? The title/author name etc like this example here?
https://docs.generatepress.com/article/page-hero-examples/#example-2What doesn’t work when you do that?
June 25, 2019 at 10:59 am #940918Daniel
I would like to have the same header that I have in the pages. You can see it here:
My web is https://lorenafrasquier.com and one post could be https://lorenafrasquier.com/sexologia/sexualidad-y-enfermedad-cronica/
June 25, 2019 at 11:34 am #940955Leo
StaffCustomer SupportSo what issue(s) are you having?
Looks like there is a page hero applied to single posts already with merged option turned on but no content in it.
-
AuthorPosts
- You must be logged in to reply to this topic.