Hide the Email Icon and/or Email Address in Divi

Written by Dan Mossop

Here's how to hide the email address / email icon from the top header in the Divi Theme.

Hide the Email Address and Icon

The best way to do this is to by simply configuring Divi not to display an email address in the first place. You can do so by going to "Divi > Theme Customizer > Header & Navigation > Header Elements", deleting anything in the "Email" field and publishing the changes.

If you need to do it via CSS, you can hide both the email address and icon with this:

/* === Hide email address and icon in top header === */
/* https://divibooster.com/hide-the-email-icon-and-or-email-address-in-divi/ */

#et-info-email { 
    display:none !important 
}

/* === End: Hide email address and icon in top header === */

Hide the Email Icon

If you can see the email icon, but no email address, the first thing to check is that there aren't any stray spaces in the email address box – as the email icon will show even if there is just a single space in there. Deleting the spaces should get rid of the icon.

If that doesn't help, or you actually have an email address you want displayed, you can hide just the email icon using this CSS:

/* === Hide email icon in top header === */
/* https://divibooster.com/hide-the-email-icon-and-or-email-address-in-divi/ */

#et-info-email:before { 
    content:'';
}

/* === End: Hide email icon in top header === */

Hide the Email Address

To hide the email address, but leave the email icon visible (and clickable), you can use the following CSS:

/* === Hide email address in top header === */
/* https://divibooster.com/hide-the-email-icon-and-or-email-address-in-divi/ */

#et-info-email { 
    display: inline-block;
    max-width: 1em;
    visibility: hidden;
}
#et-info-email:before {
    visibility: visible;
}

/* === End: Hide email address in top header === */

If you'd like to show an email icon only (no email address) and don't want to mess around with code, another option is to use my Divi Booster plugin.

Once installed, go to "Divi > Theme Customizer > Divi Booster > Social Media Icons". There, click "Add a Network" and set the "Icon" to "Mail" and "Links to" to "mailto:your@emailadress.com". This will add an email icon alongside the other social media icons in the top header and/or footer.

Optimize Your Site with Divi Booster!

Enhance your Divi website effortlessly with Divi Booster. Packed with hundreds of features, including options to customize your email icon settings, Divi Booster makes it simple to tailor your site to your needs. Whether you're hiding email icons or fine-tuning your theme's appearance, this all-in-one plugin streamlines the process.

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, 

4 Comments

  1. I had the same issue – nothing in the email field, but had a phone number in the phone field, and the email icon persisted. Your code removed it immediately – thank you!

    Reply
    • Great! Glad it helped, LiorahBlue :)

      Reply
  2. Your bit of CSS code worked perfectly for hiding the email icon. I had the email field empty in the Divi Child theme customizer settings but the email icon was still showing with no email address tied to it.

    Thanks for the solution.

    Reply
    • You're very welcome, Scaramouche. In Divi itself a single space character in the email field can cause the icon to show even though the field appears empty – maybe that the issue…? Anyway, I'm glad you've got it looking the way you want.

      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 *.

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

Latest From Divi Booster

Enable Automatic Looping for YouTube Videos in the Divi Video Module

Enabling automatic looping for YouTube videos in your Divi video module ensures that content plays seamlessly and continuously without interruption. This feature can enhance user engagement, highlight key information, or create dynamic visual effects on your website....

Hide Video Controls in Divi Video Module

Disabling YouTube video controls in the Divi Video Module helps create a seamless, distraction-free viewing experience for your site visitors. This approach is useful when you want full control over how your video content appears and is interacted with on the page, or...

Mute YouTube Videos by Default in the Divi Video Module

In the Divi Video Module, starting your YouTube videos muted by default can create a more user-friendly browsing experience on your webpage. It is particularly beneficial for reducing distractions, enhancing visitor engagement, and providing a seamless content preview...

Autoplay Videos in Divi Video Module

Enabling videos in your Divi video module to start playing automatically can enhance both the site's design and user engagement. To ensure full compatibility with browser requirements, such as Chrome's autoplay policy, it's often necessary to start your videos muted...

How to Add the Post Status in Divi's Dynamic Content

Divi's Dynamic Content feature is great for enhancing your post/page templates with post-specific information. While Divi includes an option to show information such as the Post Created Date using Dynamic Content, there is no equivalent option for the Post Status....

Random Divi Posts