(202) 750-1910
  • Facebook
  • X
  • Instagram
  • TikTok
  • Yelp
  • Google
  • Pinterest
  • WhatsApp
  • Threads
  • Facebook
  • X
  • Instagram
  • TikTok
  • Yelp
  • Google
  • Pinterest
  • WhatsApp
  • Threads
0 Items
Ask the Egghead, Inc.
  • Home
  • About
    • Reviews
    • Awards
    • Careers
    • Partners
    • Systems Status
  • Services
    • Website Design
    • Managed Hosting
    • Accessibility Compliance
    • Content Builder
    • Multi-Language Websites
    • SEO
    • Social Media
    • Premier Property Promotion
    • Reputation & Review Management Services
    • Low Code/No Code Solutions for MVP Development
    • Citation Builder
    • Pricing
    • Get A Quote
  • Portfolio
  • Website Audit
  • Blog
  • Invest Local
  • Contact
Select Page

How to Animate Your Global Header with Divi

Your header is one of the most important parts of your website. It connects your pages, posts and calls to action. It’s also one of the things your visitors automatically go looking for, so they don’t waste any time finding what they’re looking for. If you’re looking for a way to emphasize your header, you’ll enjoy this post. We’ll show you how to animate your custom-built global header using Divi’s Theme Builder. The possibilities are endless, but we’ll show you two animation examples that you can get started with right away. You’ll be able to download the JSON files for free as well!

Let’s get to it.

Preview

Before we dive into the tutorial, le’ts take a quick look at the two examples across different screen sizes.

Example #1

Desktop

animated global header

Mobile

animated global header

Example #1

Desktop

animated global header

Mobile

animated global header

Download The Animated Global Header for FREE

To lay your hands on the free animated global header, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our Divi Daily email list by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If you’re already on the list, simply enter your email address below and click download. You will not be “resubscribed” or receive extra emails.

Download the Files
.et_bloom .et_bloom_optin_1 .et_bloom_form_content { background-color: #4843d2 !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container .et_bloom_form_header { background-color: #ffffff !important; } .et_bloom .et_bloom_optin_1 .carrot_edge .et_bloom_form_content:before { border-top-color: #ffffff !important; } .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:before, .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:before { border-top-color: transparent !important; border-left-color: #ffffff !important; }
@media only screen and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:before, .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:before { border-top-color: #ffffff !important; border-left-color: transparent !important; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:before { background: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !important } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 strong { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p strong, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form input, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form button span { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; } p.et_bloom_popup_input { padding-bottom: 0 !important;}

Download For Free

Download For Free

Join the Divi Newlsetter and we will email you a copy of the ultimate Divi Landing Page Layout Pack, plus tons of other amazing and free Divi resources, tips and tricks. Follow along and you will be a Divi master in no time. If you are already subscribed simply type in your email address below and click download to access the layout pack.

You have successfully subscribed. Please check your email address to confirm your subscription and get access to free weekly Divi layout packs!

 

1. Go to Divi Theme Builder & Start Building Global Header

Go to Divi Theme Builder

Start by going to the Divi Theme Builder in your WordPress backend.

animated global header

Build Global Header From Scratch

Click on ‘Add Global Header’ and continue by selecting ‘Build Global Header’.

animated global header

2. Build Global Header Block Design

Section Settings

Spacing

Once you’re inside the template editor, you can start building the global header. We’re making sure we have a ‘block’ design going on so that we can, later on, add animations to two different containers; column + module. Open the section you can notice inside the template editor and remove all default top and bottom padding.

  • Top Padding: 0px
  • Bottom Padding: 0px

animated global header

Box Shadow

Add a box shadow next.

  • Box Shadow Blur Strength: 80px
  • Shadow Color: rgba(13,60,216,0.24)

animated global header

Z Index

And make sure you increase the section’s z index in the advanced tab too. This will make sure the global header content will appear on top of all page/post content.

  • Z Index: 99999

animated global header

Add New Row

Column Structure

Continue by adding a new row to the section using the following column structure:

animated global header

Sizing

Without adding any modules yet, open the row settings and allow the row to take up the screen’s entire width.

  • Use Custom Gutter Width: Yes
  • Gutter Width: 1
  • Equalize Column Heights: Yes
  • Width: 100%
  • Max Width: 100%

animated global header

Spacing

Remove all default top and bottom padding next.

  • Top Padding: 0px
  • Bottom Padding: 0px

animated global header

Visibility

Make sure you set the row’s overflows to ‘visible’ too.

  • Horizontal Overflow: Visible
  • Vertical Overflow: Visible

animated global header

Column Settings (All Three)

Background Color

Once you’ve completed the row settings, you’ll need to style the columns as well. Open each one of the columns and change their background color accordingly:

  • Column 1 Background Color: #efefef
  • Column 2 Background Color: #ffcb0f
  • Column 3 Background Color: #2848ff

animated global header

Spacing

Add some custom top and bottom padding to each column as well.

  • Top Padding: 0.5vw (Desktop), 1vw (Tablet & Phone)
  • Bottom Padding: 0.5vw (Desktop), 1vw (Tablet & Phone)

animated global header

Main Element

And to make sure all column content is centered vertically, we’ll add three lines of CSS code to each column’s main element.

display: flex;
flex-direction: column;
justify-content: center;

animated global header

Column 1 Z Index

Last but not least, open the column 1 settings and increase the z index in the visibility settings.

  • Z Index: 10

animated global header

Add Menu Module to Column 1

Select Menu

Time to add modules, starting with a Menu Module in column 1. Select a menu of your choice.

animated global header

Upload Logo

Upload your logo next.

animated global header

Remove Background

Continue by removing the module’s background color.

animated global header

Layout

Move on to the design tab and make sure the following settings apply to the layout:

  • Style: Left Aligned
  • Dropdown Menu Direction: Downwards

animated global header

Menu Text Settings

Style the text settings next:

  • Menu Font: Montserrat
  • Menu Text Color: #000000
  • Menu Text Size: 0.7vw (Desktop), 2vw (Tablet), 3vw (Phone)

animated global header

Dropdown Menu Settings

Along with the dropdown menu settings.

  • Dropdown Menu Line Color: #ffffff

animated global header

Icons Settings

And change the hamburger menu icon color too.

  • Hamburger Menu Icon Color: #2848ff

animated global header

Sizing

Continue by changing the logo max width across different screen sizes.

  • Logo Max Width: 6vw (Desktop), 9vw (Tablet), 13vw (Phone)

animated global header

Spacing

And complete the module’s settings by adding some left and right margin.

  • Left Margin: 2vw
  • Right Margin: 2vw

animated global header

Add Code Module to Column 1

Insert CSS Code for VW Responsiveness

Now, in the menu module, we’ve used the viewport width unit for our text size and spacing values. We did this to make sure you can place up to 8 menu items across different desktop screen sizes, without it splitting up into two lines. We’ll need to make sure the space between the menu items is created with the vw unit as well. To do that, we’ll add a Code Module to column 1 and insert the following lines of CSS code:

.et-menu>li {
padding-left: 1vw !important;
padding-right: 1vw !important;
}

animated global header

Add Social Media Follow Module to Column 2

Add Social Networks

On to the next column, there, we’ll need a Social Media Follow Module. Add the social networks of your choice.

animated global header

Reset Social Network Styles Individually

Continue by resetting each network’s settings.

animated global header

Alignment

Complete the module’s settings by changing the module alignment.

  • Module Alignment: Center

animated global header

Add Button Module to Column 3

Add Copy

On to the next and last column. There, we’ll only need a Button Module. Add some copy of your choice.

animated global header

Alignment

Move on to the design tab and change the button alignment.

  • Button Alignment: Center

animated global header

Button Settings

Complete the module’s settings by styling the button.

  • Use Custom Styles For Button: Yes
  • Button Text Size: 1vw (Desktop), 1.2vw (Tablet), 2vw (Phone)
  • Button Text Color: #ffffff
  • Button Border Width: 0px

animated global header

  • Button Border Radius: 0px
  • Button Font: Montserrat
  • Button Font Weight: Ultra Bold
  • Button Font Style: Uppercase

animated global header

3. Add Matching Animation to Elements

Global Header Animation Combo #1

animated global header

Column 1 Animation

Now that we’ve built the global header, it’s time to add the animations! To recreate the first animation, open the column 1 settings and add the following animation:

  • Animation Style: Zoom
  • Animation Direction: Up
  • Animation Starting Opacity: 100%

animated global header

Column 2 Animation

Add the following animation settings to column 2 next:

  • Animation Style: Zoom
  • Animation Direction: Down
  • Animation Delay: 500ms
  • Animation Starting Opacity: 100%

animated global header

Column 3 Animation

Complete the column settings by assigning the following animation to column 3:

  • Animation Style: Zoom
  • Animation Direction: Up
  • Animation Delay: 1000ms
  • Animation Starting Opacity: 100%

animated global header

Module Animations (All Three Modules)

Once you’ve completed the column settings, open each one of the modules individually and use the following animation for them:

  • Animation Style: Fade
  • Animation Delay: 1500ms

animated global header

Global Header Animation Combo #2

animated global header

Column 1 Animation

Want to recreate the second animation set instead? Open the column 1 settings and add the following animation:

  • Animation Style: Slide
  • Animation Direction: Up
  • Animation Starting Opacity: 100%

animated global header

Column 2 Animation

Use the following animation settings for column 2 next:

  • Animation Style: Slide
  • Animation Direction: Up
  • Animation Delay: 500ms
  • Animation Starting Opacity: 100%

animated global header

Column 3 Animation

And complete the column settings by applying the following animation settings to column 3:

  • Animation Style: Slide
  • Animation Direction: Up
  • Animation Delay: 1000ms
  • Animation Starting Opacity: 100%

animated global header

Module Animations (All Three Modules)

Then, open each module individually and add the following animation:

  • Animation Style: Slide
  • Animation Direction: Down
  • Animation Delay: 1500ms

animated global header

4. Save Builder Changes & View Result

Once you’ve completed the animation settings, you can save the global header, exit the Theme Builder and view the outcome on your website!

animated global header

animated global header

Preview

Now that we’ve gone through all the steps, let’s take a final look at the examples across different screen sizes.

Example #1

Desktop

animated global header

Mobile

animated global header

Example #1

Desktop

animated global header

Mobile

animated global header

Final Thoughts

In this tutorial, we’ve shown you how to animate your global header using Divi’s built-in options and the Theme Builder. This is a great way to draw attention to your website’s header. With Divi’s built-in animation options, the possibilities are endless. To help you get started, we’ve shown you two different examples. You were able to download the JSON files for free as well!

If you’re eager to learn more about Divi and get more Divi freebies, make sure you subscribe to our email newsletter and YouTube channel so you’ll always be one of the first people to know and get benefits from this free content.

The post How to Animate Your Global Header with Divi appeared first on Elegant Themes Blog.

Recent Posts

  • Busting the Biggest WordPress Myths

    Busting the Biggest WordPress Myths

  • You’re Not Too Small for a Great Website

    You’re Not Too Small for a Great Website

  • Top Web Design Trends to Watch in 2025

    Top Web Design Trends to Watch in 2025

  • Lock Down Your Site: WordPress Security Made Easy

    Lock Down Your Site: WordPress Security Made Easy

  • Is It Time to Redesign Your Website?

    Is It Time to Redesign Your Website?

  • Don’t Ignore These Website Pages

    Don’t Ignore These Website Pages

  • AI Tools in Web Design: Hype vs. Real Help

    AI Tools in Web Design: Hype vs. Real Help

  • How to Make Your Website Feel Brand New Again

    How to Make Your Website Feel Brand New Again

  • No Leads? Here’s Why (And How to Fix It)

    No Leads? Here’s Why (And How to Fix It)

  • 7 Website Mistakes That Hurt Your Business

    7 Website Mistakes That Hurt Your Business

Awards

  • Clutch Top Web Design Company Medical Websites 2024

    Clutch Top Web Design Company Medical Websites 2024

  • Clutch Top Web Design Company Government Websites 2024

    Clutch Top Web Design Company Government Websites 2024

  • UpCity National Excellence Winner 2024

    UpCity National Excellence Winner 2024

  • UpCity National Excellence Winner 2023

    UpCity National Excellence Winner 2023

  • UpCity National Excellence Winner 2022

    UpCity National Excellence Winner 2022

  • UpCity Local Excellence Washington DC 2021

    UpCity Local Excellence Washington DC 2021

  • UpCity Top Designer 2021

    UpCity Top Designer 2021

  • DesignRush Accredited Agency 2021

    DesignRush Accredited Agency 2021

  • Clutch Top Company Washington DC 2021

    Clutch Top Company Washington DC 2021

  • Digital.com Best SEO Firms Washington DC 2021

    Digital.com Best SEO Firms Washington DC 2021

Ask-the-Egghead-logo

Capability Statement

View/Download

Ask the Egghead

200 Massachusetts Ave NW
8th Floor Suite 133
Washington, DC 20001
(202) 750-1910

Ask the Egghead

399 Boylston Street
Suite 685
Boston, MA 02116
(617) 221-8300

Quick Links

  • Website Design
  • Social Media
  • SEO
  • Managed Hosting
  • Privacy Policy
  • Investors
  • Facebook
  • X
  • Instagram
Designed by The Egghead © 2015-2025 Ask the Egghead, Inc.