Divi Tip – Add Instagram to the social links

Divi Tip – Add Instagram to the social links

Here’s a Divi tip on how to add Instagram to the top social menu.

I see people asking for ways to insert the Instagram logo/link in Divi’s designated social links areas, like the top bar, and the footer social area. I didn’t care about doing any of that because I just used a social plugin, but after a client asked about IG, I decided to look into it. It’s actually easier than it sounds/looks.

(note: I’m sure ET will add IG to their updates soon, but for now, this is a really simple way of getting this done.)

The icon

So let’s start with the icon set. Found here.

Get the code for the icon you want. In this case, let’s go with Instagram.
(note: you can swap this out for any other social network, but change the codes)

I’ll use this code:



See the first three characters? & # x ? That will become a \ –> So it’ll be a \e09a –> that will become the icon code in a sec.

 

The CSS

Let’s replace an icon that’s… not used much… So pick one or the other from the two below

/* Replace the G+ icon, whatever that is, or the RSS icon */
.et-social-google-plus a.icon:before {
  content: "\e09a";
}
.et-social-rss a.icon:before {
  content: "\e09a";
}

Just paste that anywhere you would normally paste custom CSS,

add the instagram address

and you’ll have the instagram icon where the RSS icon used to be. (or you can swap out the Google Plus icon, because that’s.. useless.. too)

So there you have it. Super simple.

 

 

Photo by Tom Sodoge on Unsplash

Leave a Reply

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

  1. Hi PK,

    Tried the above but nothing is changing for me. Any ideas?

  2. Hi,
    I tried this and had great success with changing the rss one but the G+ won’t change at all. Seems putting in two codes doesn’t work because if I swap it out to twitter it doesn’t change the icon either.

  3. All good, I fixed the issue. There was a line of dodgy code blocking the read. Cheers for this!

  4. Needed this, you rock!

  5. that worked out great! thanks!!!!

  6. Legend mate, this worked a treat for me. So simple compared to other suggestions. Thanks again.

New tutorials

Use a featured video in post templates with Breakdance
ACF repeater fields as accordions in Breakdance
Breakdance 2 vs. Divi 4
Breakdance 2 for Agencies

Why no ads?

Hi, I'm PK, and I maintain and publish content on this site for two reasons.

  1. To give back to the community. I learned so much from people's tutorials and StackOverflow that I wanted to contribute and help others.

  2. To provide a more structured learning experience. People struggle to find the course that guides them from start to finish, based off of real life experience, and my courses provide that.

The only "ads" I have here are for my own courses, and maybe an affiliate link, but that's it. They fund the website resources and provide more motivation for me to produce better content.

Any bit of interest helps. Even sharing with your friends, suggesting my courses to your developer or designer, or subscribing to my YT channel, or joining our Discord. Thanks and I'll see you around!

There's a newsletter!

Sign up to the newsletter for the occasional updates on courses, products, tutorials, and sales.