Reply To: Page Header issue in 1.2.87

Home Forums Support Page Header issue in 1.2.87 Reply To: Page Header issue in 1.2.87

#208142
Tom
Lead Developer
Lead Developer

Ah I see the issue.

Before, the merged header option “cheated” in a way, it would simply make it so the header was absolutely positioned, so it would sit on top of the section below, making it look like it was inside the page header element.

This worked, but wasn’t ideal as it could lead to overlapping content.

In this latest version, I actually made it so the page header wrapper wraps around the site header, and removed the absolute positioning. This is a massive improvement over the way it was being done.

In most cases, people actually using the Page Header metabox for content won’t notice any difference – it will just function better.

In your case, you’re using Beaver Builder in a section below the header, so the absolute positioning was actually essential for your design.

So, in your case, you can make it so the header is absolutely positioned again:

.generate-merged-header .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

Adding CSS: https://generatepress.com/knowledgebase/adding-css/

Hopefully that helps explain things and gets it back to the way it was for you before 🙂