Add an Image Icon to the Divi Social Media Follow Module

Written by Dan Mossop

The Divi theme comes with a social media follow module which lets you add icons from a range of social networks into you pages, and Divi Booster adds approximately 300 additional icons. But what if you need an icon not covered by either. Here's how to add your own custom social media follow network icon images.

Adding a Custom Social Media Network using Divi Booster

Divi Booster adds a new "Image Icon" option to the social media follow module, which can be used to upload an image icon of your choice.

To use it, first add a new social network to your social media follow module (or edit an existing one):

Next set the social network to "Image Icon":
Now select the image to use for the icon:
If you like, you can also set a custom "Icon Title" used as the tooltip, displayed when the user hovers over the icon:
Now save the module settings, and the page. When you view the page on the front-end, you should now see your custom icon, like so:
Note that the image is not currently shown in the preview when editing in the Visual Builder. Instead, a placeholder icon is displayed.

This option is available from Divi Booster 3.5.3 upwards.

Adding a Hover Effect on the Custom Icon

The custom icon is an uploaded image, rather than a font icon as is the case for the other social icons supported in the module. This means, unfortunately, that it won't be affected by the color options in the module settings' design tab. As such these settings can't be used to give the custom icon a different color on hover.

An alternative is to create and upload two versions of the custom icon image – one for the default state and one for the hover state.

To set a different image to be displayed on hover, return to the image uploader in the social network settings, then hover over the setting name: 'Image'. This will bring up the setting's advanced options. Click on the 'hover' pointer icon. like so:

This will bring up the 'normal' and 'hover' mode buttons. Click on the 'hover' mode button as shown.

You can now click on the image and replace it with your hover image.

Now save the module settings, and the page.

When you view the page on the front-end, you should then see the hover image displayed when you hover over the icon.

The hover image option is supported in Divi Booster 3.7.0 upwards.

Take Your Divi Icons to the Next Level!

Empower your Divi site's social media presence with WP Magic CTAs. Leverage AI to create powerful CTAs that perfectly complement your customized social icons. Drive engagement and conversions effortlessly, and enjoy a seamless integration. Get 50% off until Sept 5!

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, 

5 Comments

  1. Hey! Thanks for the tutorial. However, no as i added the image, and I cannot control its color in hover mode, even though I added .svg file. Is there any way to treat the new icon as a vector with all the functionality?

    Reply
    • Hey Varvara! The custom icon is an uploaded image, rather than a font icon as is the case for the other social icons supported in the module. This means, unfortunately, that it isn't affected by some of the design options in the module settings' design tab. As such these settings can't be used, for example, to give the custom icon a different color on hover. I haven't yet found a good way to enable these settings for images – but I'll update here if I do. One possibility in the meantime, is to create a "hover" version of the image (e.g. in image editing software) and then have the icon switch to it when hovered. I've just gone ahead and enabled support for a hover version of the image, which will be in the next Divi Booster update. I'll update here with details when it's available – hopefully later in the week. I hope it helps.

      Reply
      • Hey Varvara, I've just released the update (v3.7.0) and updated the post with details on how to add a separate hover image to the custom image icon. I hope it goes some way towards achieving the effect you're after. Give me a shout if you have any questions about it, etc. Cheers!

        Reply
  2. Sweet. Just added a few real estate related icons/links in the Social Media module and it came out perfect.

    Reply
    • Great! I'm glad it helped, and thanks for the feedback, Randy. Much appreciated.

      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.