Removing the Divi Header Bottom Border

Written by Dan Mossop

Eliminating the bottom border bar from the Divi standard header creates a cleaner and more modern look on your website. This change can help your header blend seamlessly with the rest of the page, offering a sleeker appearance and improved visual consistency. In this guide we show you how to remove the bottom border bar from the Divi header to enhance your site's design using either the Divi Booster plugin or some custom CSS.

Remove the Bottom Border Bar from the Divi Header using Divi Booster

This method demonstrates how to remove the bottom border bar from the Divi standard header by using the Divi Booster plugin. It's an efficient, no-code approach that allows you to quickly toggle the border setting through an intuitive options panel, making it ideal for users who want a hassle-free solution.

Access Divi Booster Header Settings

To get started, open the Divi Booster settings from the Divi menu in the WordPress admin sidebar. Next, expand the 'Header' section, and then open the 'Main Header' sub-panel. This is where you'll find the relevant setting.

Enable the 'Hide Header Bottom Border' Option

Within the Main Header panel, find the 'Hide header bottom border' option and check the box to enable it. 

Save Your Settings

After enabling the option, be sure to click the 'Save Changes' button in the Divi Booster panel to apply your update site-wide.

Check the Updated Header

Visit your site to confirm that the header's bottom border is now removed. Your header should appear seamless, without any obvious border or shadow beneath it.

Remove the Bottom Border Bar from the Divi Header using Custom CSS

This method demonstrates how to remove the bottom border bar from the Divi standard header by adding custom CSS directly in the Divi Theme Options panel. It's a straightforward approach that allows you to eliminate the box shadow without modifying theme files or using child themes, making it ideal for quick, code-based customization.

Open Divi Theme Options and Locate Custom CSS

Head to the Theme Options area in the Divi menu from your WordPress dashboard. Once there, scroll down to the 'Custom CSS' section and click into the code input box.

Add the Custom CSS

Paste the following code into the Custom CSS box to remove the bottom border (box shadow) from the Divi header:

header#main-header.et-fixed-header,
#main-header {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

Save Your Changes

Once you've added the CSS, click the green 'Save Changes' button at the bottom of the Theme Options panel to make your update live.

Preview the Header Without a Bottom Border

Go to your website and check that your header no longer shows a bottom border or shadow—your design should now look sleek and borderless!

Conclusion

Removing the bottom border from Divi's standard header is quick and easy, whether you use Divi Booster or a bit of custom CSS. Enjoy your site's fresh, clean header design!

We may earn a commission when you visit links on our website.

Remove Divi Header Shadows Effortlessly

Easily customize your Divi site with Divi Booster. Eliminate that unwanted header shadow and more with a few clicks. Perfect for streamlining your design process and enhancing your site's look!

Latest Posts

Add a Visible Shadow to Divi Gallery Lightbox Arrows

Give the lightbox navigation arrows in your Divi galleries a stylish pop and improve their visibility by adding a shadow beneath the arrows. This quick guide will show you how to make your navigation arrows stand out against the lightbox overlay.Add a Visible Shadow...

Adjust Lightbox Arrow Size in Divi Gallery

Customize the size of the navigation arrows that appear in your gallery lightbox so they’re easier to see and aligned with your site’s design. Whether you want larger, more accessible controls or a subtler look, setting a precise arrow size creates a more polished...

Change Lightbox Arrow Color in the Divi Gallery Module

Make the lightbox navigation arrows in your Divi Gallery match your brand and stand out against your images by assigning a custom color. This improves visual consistency, enhances accessibility with better contrast, and elevates the overall browsing experience for...

Change the Divi Gallery Module Grid Image Scaling

Divi’s Gallery module offers a great way to showcase images, but it can sometimes stretch or crop them in unwanted ways. This article explains how to manage the module’s image scaling behavior to ensure your images are displayed at the correct size and aspect...

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

24 Comments

  1. Thank you so much for this! It worked like a charm! :)

    Reply
    • Glad it helped, Norm!

      Reply
  2. Really, really helpful. Thank you so much

    Reply
    • :)

      Reply
  3. Thanks a lot. Exactly what I was looking for.

    Reply
    • You're welcome, Alexey!

      Reply
  4. Thanks, it is working fine man

    Reply
  5. Thanks man, perfect!

    Reply

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

Works with Divi 5

This feature has been tested and confirmed to work with Divi 5.

Works with Divi 4

Divi Booster

Hundreds of new features for Divi!

All licenses are lifetime – pay once, use forever.