1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Social icons need to open in new window

Discussion in 'Basic Support Forum' started by ThemeUser, Jun 1, 2020.

  1. ThemeUser

    ThemeUser Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Hi,

    I added the code that you listed in the thread below (from 2018), but it did not work in my installation of Divi Powerful today. The social icons still open in the parent window when clicked, instead of opening in a new window.

    I followed your instructions to place this code in the <body> section of Divi > Theme Options > Integration:

    <script type="text/javascript">
    jQuery(document).ready(function(){
    jQuery(".et-social-icon a").attr('target', '_blank');
    });
    </script>

    Could you please check to see if that code still works? And if not, what new code should be used instead?

    Thread referred to above:
    https://divi.help/threads/ghost-footer-not-displaying-in-visual-builder.1065/#post-3063

    Thanks for your continued awesome support.
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Beautifully crafted Divi layout packs for you to kick start your Divi sites:View Demo
  2. Divi Powerful

    Divi Powerful Administrator
    Staff Member

    If you're using social icon module, then you can simply set it in the module settings. See screenshot below:

    upload_2020-6-2_10-57-25.png
     
    ThemeUser likes this.
  3. ThemeUser

    ThemeUser Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    That works — thank you. I should have looked harder.
     
    1. PRO MEMBER PERKS Divi Block Pro - Easy-to-use drag & drop interface to mix & match 456+ premade Divi blocks & export as json file:Learn More