- This topic has 8 replies, 3 voices, and was last updated 1 year, 6 months ago by Leo.
June 9, 2019 at 1:13 pm #924271Daniel
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 #924296DavidStaffCustomer Support
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:
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.
2. Select a Custom Image for the background instead of the Featured Image.June 16, 2019 at 3:08 am #931129Daniel
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 #931135DavidStaffCustomer Support
Does 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 #938788LeoStaffCustomer Support
Sorry I’m confused.
What do you want in the page hero for posts? The title/author name etc like this example here?
What 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 #940955
- You must be logged in to reply to this topic.