- This topic has 10 replies, 3 voices, and was last updated 5 months ago by Leo.
August 20, 2020 at 11:59 am #1411672Carsten
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?
Thanks!August 20, 2020 at 3:06 pm #1411849TomLead DeveloperLead Developer
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.August 20, 2020 at 3:22 pm #1411860Carsten
Yes, it’s for the home page, is this because I use navigation as header?August 20, 2020 at 3:28 pm #1411869LeoStaffCustomer SupportAugust 21, 2020 at 2:56 am #1412281CarstenAugust 21, 2020 at 3:38 am #1412328Carsten
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!August 21, 2020 at 8:29 am #1412852LeoStaffCustomer SupportAugust 24, 2020 at 3:23 am #1415738Carsten
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.
Thanks!August 24, 2020 at 8:30 am #1416318LeoStaffCustomer Support
Have you tried making the page hero contained?
https://docs.generatepress.com/article/header-element-overview/#containerAugust 24, 2020 at 12:12 pm #1416610Carsten
Thanks, that helped 😉August 24, 2020 at 12:16 pm #1416621
- You must be logged in to reply to this topic.