[Resolved] Merge option in Header element

Home Forums Support [Resolved] Merge option in Header element

Home Forums Support Merge option in Header element

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1411672
    Carsten

    Hi there, I’m using the ‘Merge with Content’ in the Site Header option in my Header Element containing a login option. I expected the header to merge with the content element below, in this case give the header a red background, but it doesn’t, isn’t that what merge means?

    View post on imgur.com

    View post on imgur.com

    Thanks!

    #1411849
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Is this for the home page? If so, it doesn’t seem like a header exists, so there’s nothing to merge.

    The login link is inside the Page Hero. If you add that link to the header (the regular navigation), it should merge.

    #1411860
    Carsten

    Yes, it’s for the home page, is this because I use navigation as header?

    #1411869
    Leo
    Staff
    Customer Support

    The home page doesn’t actually have a header or a navigation.

    Looks like both are disabled?

    #1412281
    Carsten

    Yes, the header is disabled, and I use navigation as header.

    Now, after enabling the header on the home page in the layout element, it still does not merge, it’s probably because I use navigation as header?

    View post on imgur.com

    With header, should the header not merge?

    View post on imgur.com

    #1412328
    Carsten

    I have to use the short code login link, not the login in menu, to use my modal login.

    So I guess the best bet is to give my header element a background color to “merge” with the element below?

    Thanks!

    #1412852
    Leo
    Staff
    Customer Support

    Would it work if you just make the page hero background color the same red as the content below?

    #1415738
    Carsten

    Hi there, yes it might work, there is an issue if the content has a gradient background, and the page hero is not contained, but I guess this can be corrected with code, and the gradient then might match.

    View post on imgur.com

    Thanks!

    #1416318
    Leo
    Staff
    Customer Support

    Have you tried making the page hero contained?
    https://docs.generatepress.com/article/header-element-overview/#container

    #1416610
    Carsten

    Thanks, that helped ๐Ÿ˜‰

    #1416621
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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