Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Header image not working

  • Hi there!
    I’d like to have a custom header image in a specific page.
    So I created a new header, but it doesn’t work and I don’t know why.
    The display rules look like correct: position is page and I chose the specific page.
    The content is
    <h1>
    {{post_title}}
    </h1>

    The setup of page hero is:
    – content and inner content are full widht
    – horizontal aligment is center
    – background page is featured image.

    In the specific page, in the setup of layout, the header is active and I uploaded the featured image.
    The output is a page with the featured image, but it isn’t full width and there isn’t the h1 in the image.
    If I setup the header as draft (not published), nothing changes.

    What’s wrong?

  • Hi there,

    Can you link us to the page in question?

    You can use the private information field.

    Let me know πŸ™‚

  • Of cours! I wrote the url in the private information.
    The web site has the maintenance mode activated, so you can see it only after the login.

  • Hmm I don’t see any content added: https://www.screencast.com/t/CCGJKjEnm1

    Also, since you are already using the block editor with GB, I would highly recommend using a Block Element page hero instead: https://docs.generatepress.com/article/block-element-page-hero/

    Let me know πŸ™‚

  • The issue is about “Header riflessologia plantare” and not “Header del sito”.

    I’ll give a try to Block Element page hero, but I’d like to understand what’s my mistake.

  • The only element activated on the /riflessologia-plantare-ragusa is the Header del sito element which you can see here: https://www.screencast.com/t/5ZbnZFQ0QoEo

    The Header del sito is set to apply to the Entire site so maybe you need to add the /riflessologia-plantare-ragusa page under Exclusion? https://www.screencast.com/t/DmlykHysVRL

    Using the Block Element Page Hero will be a much better option. The header element is a very old module (before the block editor) and will eventually be deprecated.

  • Thank you Leo.
    I’ll study the Block Element Page Hero. It looks like also more simple.

  • No problem πŸ™‚

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