Open Divi Social Media Icons in a New Tab

Written by Dan Mossop

Ensuring your website's social media icons open in a new browser tab creates a seamless user experience and keeps visitors engaged with your site while allowing them to explore your social media presence. This approach prevents users from navigating away from your site by keeping your content accessible. In this guide we show you how to adjust your Divi-powered site's social media icons using either Divi Booster or jQuery so that clicking them opens the links in a new tab.

Open Divi Social Media Icons in a New Tab using Divi Booster

This method demonstrates how to configure Divi’s header and footer social media icons to open in a new browser tab using the Divi Booster plugin. It provides a quick and user-friendly way to enhance your site’s navigation by enabling a simple checkbox, making it ideal for users who want an easy, no-code solution.

Access and Expand Divi Booster Social Icon Settings

In your WordPress dashboard, open the Divi Booster settings by selecting 'Divi Booster' under the Divi menu. Within Divi Booster, expand the 'Site-wide Settings' panel, then the 'Icons' sub-panel to reveal the icon options.

Enable 'Open Social Media Icon Links in a New Tab'

In the Icons options, check the box labeled 'Open social media icon links in a new tab' to have your social links open in new tabs.

Save Your Changes

Don't forget to click 'Save Changes' at the bottom of the Divi Booster settings page so your update takes effect.

Check Your Social Media Icons

Head to your site's front-end and click a social media icon, such as Facebook, in your header or footer. The link should now open in a new browser tab, helping visitors stay on your site.

Open Divi Social Media Icons in a New Tab using jQuery

This method demonstrates how to make the Divi theme’s header and footer social media icons open in a new browser tab by adding a small jQuery script to the Theme Options integration panel. This approach is quick, requires no editing of theme files, and applies the "open in new tab" behavior site-wide for all relevant social icon links.

Open the Integration Tab in Divi Theme Options

Navigate to Divi > Theme Options, and select the 'Integration' tab at the top of the page.

Add the jQuery Script

Scroll down to the 'Add code to the of your blog' box. Paste in the following code to automatically open all social icon links in a new tab:

<script>
jQuery(function($) {
    $('.et-social-icon a, .et-extra-social-icon a').attr('target', '_blank');
});
</script>

Save and Test Your Social Icons

Click 'Save Changes' at the bottom of Theme Options. Now, go to your website's front-end and click a social media icon (such as Facebook) in your header or footer. The link should open in a new browser tab, confirming your update was successful.

Conclusion

With either the Divi Booster plugin or a simple jQuery script in Theme Options, you can easily ensure your Divi site's social media icons open in new tabs—helping keep visitors engaged on your site. Choose the method that fits your workflow and enjoy a more user-friendly experience for your audience.

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

Check out Divi Booster

Divi Booster upgrades Divi with hundreds of new features to help you build awesome sites with ease, including easy controls for optimizing social media icon behavior and more.

Latest Posts

Top (or Bottom) Align Divi Icon List Module Icons

When Icon List items wrap onto multiple lines, the default icon alignment can make the icon appear vertically centered next to the text, which may look unbalanced or harder to scan. Setting the icons to align at the top creates a cleaner, more consistent...

Make Divi Button Modules Full Width with Centered Content

This configuration makes a Divi button stretch to the full width of its container while keeping its label neatly centered, creating a bold, edge-to-edge call-to-action. You might want this for hero sections, pricing tables, or any layout where a standard-sized button...

Fix the Flickr Typo in the Divi Social Media Follow Module

Sometimes it's the small things that make the difference... there is a minor typo in the Divi Social Media Follow module that was present in Divi 4, and (currently) remains in Divi 5. Specifically, the tooltip for Flickr is misspelled as "Flikr". Here's how to fix...

Add a Frosted-Glass Background Blur in Divi

Give your Divi layouts a polished, glassmorphism look by blurring the content behind a semi‑transparent Divi section, row or module. This effect enhances readability over busy or textured backgrounds while preserving the visual impact of your imagery and layout. In...

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, 

0 Comments

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

Compatible with

Divi 5

Divi 4

Get this feature

This feature is included in the following plugins:

Divi Booster

About Divi Booster