[Support request] Extend Element "Transparent Header" to Blog

Home Forums Support [Support request] Extend Element "Transparent Header" to Blog

Home Forums Support Extend Element "Transparent Header" to Blog

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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!

    #924296
    David
    Staff
    Customer Support

    Hi 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.

    #931129
    Daniel

    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/

    #931131
    Daniel

    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.

    #931135
    David
    Staff
    Customer 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.

    #938743
    Daniel

    Yes, I have introduced “<!– Featured image hero –>” but not show it.

    I do not get activate Element in posts, but yes in pages.

    #938788
    Leo
    Staff
    Customer Support

    Sorry 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-2

    What doesn’t work when you do that?

    #940918
    Daniel

    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/

    #940955
    Leo
    Staff
    Customer Support

    So 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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.