Skip to main content

How to Create a Transparent Fixed Header Layout That Overlaps the Page's Content in Divi 5

Learn how to create a transparent fixed header in Divi 5 that overlaps your page's content for a modern and elegant website design.

Updated yesterday

A transparent fixed header that overlaps your page content gives your site a clean, modern look without sacrificing navigation. It stays visible as users scroll while letting your content show through - improving both aesthetics and usability.

Divi's Theme Builder is where this all comes together. It lets you build a custom Global Header with full control over transparency, position, and styling to match your site's design.

Create a Global Header layout

  1. Navigate to WordPress Dashboard → Divi → Theme Builder and create a new Global Header layout.

  2. Add a 1 Column Row

  3. Add the Menu module, set a logo image, and choose the WordPress menu to be used as the website navigation menu.

Configure the Section

  1. Open the Section's settings, which contains the entire Header layout.

  2. In the Section's Content tab → Background, expand the Background option group, and set the Background color to transparent.

    Divi 5 - Section Transparent Background Color

  3. Go to the Section's Design tab → Sapcing → Padding and set to 0px the Top and Bottom Padding.

    Divi 5 - Section's Top and Bottom Padding

  4. Go to the Section's Advanced tab → Scroll Effects and set it to be Sticky at the Top.

    Divi 5 - Section's Scroll Effects - Sticky at the Top

  5. Go to the Section's Content tab → Background, choose the Sticky State and set a solid background color, or a background color with transperancy.

    Divi 5 - Section's Sticky state background color

  6. Go to Secetion's Design Tab → Sizing and set a value for the Min Height.

    Divi 5 - Section's Sticky state padding

⚠︎ Notes:

  • The value used for the Min Height option depends on how tall the Menu module is. You can start with a 90px and increase/decrease so that the Row and the module appear vertically centered.

  • The Min Height value is required, since the Row inside the section is going to be positioned absolutely.

Configure the Row

  1. Open the Row's settings and go to the Row's Design Tab → Spacing → Padding and set to 10px the Top and Bottom Padding.

    Divi 5 - Row's Top and Bottom padding

  2. Go to Row's Advanced Tab → Position and choose Absolute, and for Alignment choose Top Center.

    Divi 5 - Row's Position settings

Configure the Menu Module

  1. Open the Menu module settings and go to the Content tab → Background.

  2. Remove the Menu module's default white background color by clicking the Trash icon.

    Divi 5 - Menu module's background color settings

The results

  • When the page is not scrolled, the Header area overlaps the page content.

    Divi 5 - Global Header's styles when the page is not scrolled

  • When the page is scrolled, the Header area displays a background color.

    Divi 5 - Global Header's styles when the page is scrolled

Did this answer your question?