How to Customize Divi Person Module and Add Hover Effects

Today I would like to show you how Divi Person Module can be easily customized. We will add several lines of CSS that will make our team page stand out.

Live Preview

Divi Person Module allows you to add team members, persons to your website with ease. It has several useful features built in. We can add name, title, image, short description and social media links.

In this tutorial I will show you how to add a hover effects to the profile image and social media links and also how to add a little divider below the title. To follow this tutorial you will need Divi Theme by Elegant Themes installed.

We will add zoom in/out effect to the profile image and we will hide social media icons by default and will make them slide up on mouseover only.

Let’s get started.

1

Adding row, columns and Divi Person Modules

First thing we need to do is to add row and columns to the page we want team members to be displayed. After that we add Person Module to each column and fill up the fields in the module customizer.

We add name, title, image, social media links and short description to each module. It is recommended to use the same size images for each person module. For this tutorial I will use square images 400px width and height.

2

Adding custom class to each Person Module

We will be applying custom css to our modules. To make it working we need to add custom class to each Person Module we have created in previous step, so our changes will be applied correctly. To do that open Person Module Settings and go to Custom CSS tab. Use b3_team class in CSS Class filed. Save & Exit. Repeat the same steps for all other Person Modules you have on your page.

3

Adding custom CSS to Divi Theme Options or Child Theme stylesheet

In previous step we have applied custom css class to each Person Module. Now we will be applying CSS rules to person image, title and social media icons. This code can be added to Divi/Theme Options/Custom CSS but it is recommended to use child theme for this purpose. You can find more information about creating child themes on Geno Quiroz’s blog.

Copy the following code and paste it to your child theme style.css file or to Theme Options Custom CSS section.

And that’s it!

Hopefully you enjoyed this tutorial and it was a fun to make this module working differently than default Divi Person Module. If you have used this on your website or on your client’s website please share url in comments below. I would love to see how you use it in your project.

Maciej Ekstedt

Maciej Ekstedt

Maciej is the founder and CEO of B3 Multimedia Solutions. He is a self-made web designer and marketing expert, and he loves his job so much that he barely leaves the office. He transforms creative ideas into effective strategies for his company and for his clients. Maciej is fascinated by the phenomenon of megalopolis. He notices patterns and details which make up the whole thing, and he uses these skills in his work.

Live Preview
John Doe

John Doe

Director

Duis sed tellus eget ipsum posuere viverra in nec dui. Integer et libero turpis. Donec eget neque sit amet tellus porta vehicula vel ac quam.
Sarah Doe

Sarah Doe

Designer

Duis sed tellus eget ipsum posuere viverra in nec dui. Integer et libero turpis. Donec eget neque sit amet tellus porta vehicula vel ac quam.
Jason Doe

Jason Doe

Developer

Duis sed tellus eget ipsum posuere viverra in nec dui. Integer et libero turpis. Donec eget neque sit amet tellus porta vehicula vel ac quam.

DiviEstate is a perfect choice for your real estate website. This child theme has all the features needed to run a realtor’s business successfully.
Get 10% discount with coupon code ESTATE10

23 Comments

  1. Mike

    my pictures have a padding around them? How can I fix that?

    • Maciej Ekstedt

      Hi Mike, thank you for your comment! It seems like images you are using are too small or other css is applied. Can you please make sure you are using images at least 400px width and height? Also url would help 🙂

  2. Anthea

    Wow, thank you. This really does look great. Looking forward to using this on our next website build 🙂

  3. Andre

    Loved your blog design. And that’s a really nice tutorial!

    • Maciej Ekstedt

      Thank you Andre! I’m happy to see you here and always welcome! 🙂

  4. Jeffrey

    Many thanks, Maciej, for making this valuable module and your tutorial to implement it available to our Divi group.

  5. John-Pierre Cornelissen

    That looks great! But how did you add the website icon to the social media icons in the demo? The Divi person module doesn’t have that option, and the db_pb_team_member_website_icon class you use for the globe icon in the demo isn’t in the css above either.

    • Maciej Ekstedt

      Hi John-Pierre,
      Thank you for your comment. That’s true. Website icon is added to the Person Module by Divi Booster plugin and this is not a part of this tutorial. Thank you for notifying. I have removed the icon from Live Preview section.

      • John-Pierre Cornelissen

        Cool, thank you! I didn’t know Divi booster could add that. I think ET should update that module and allow you to add that + all social media accounts you can also add with the social media module + custom options with a custom icon. There is always something to which for 🙂

  6. Micah Petrea

    Awesome tutorial! Thanks for the CSS Code.

    When I implemented this my names and positions are not centered, they are to the left.

    https://allenlawfirm.com/meet-taf/

    • Maciej Ekstedt

      Hi Micah,

      Indeed, there is some CSS issue. Please add the following code to your stylesheet:

      .b3_team .et_pb_team_member_description {
      display: block;
      }

  7. Dehn

    Very nice. Clean and well executed post as well. Thank you!

  8. Rita Viana

    I really like what you did here. I am using it, or trying, but everyone has different sizes and this is annoying me.
    Do you know how to make it even? Or maybe a code to become a dropdown, click on the name and it slides out? (I don’t know if it’s clear)

  9. Reggie

    Hello, when I scrolled down, I saw your Section expand. How is this accomplished?

    Thank you in advance

  10. David Papenfus

    Thanks, I’ve just used this for a happy client.

  11. Rebecca Batisto

    I’ve been trying to make this work, but my client has 5 people, so I have one row of two and one row of three.
    The row of two cannot expand on a larger screen without a white box around the right of the image.
    Do you know how can I make them look equal?

    • Maciej Ekstedt

      Hi Rebecca,
      You just need to upload bigger images, so they fill out the space on higher resolutions too.

      • Paul Braoudakis

        Maciej, I like what I see so far, but I am having two problems. First, the advice you gave to Rebecca is not working for me. I have the identical situation, but simply uploading larger photos does not seem to fill the space. Also, in the second row where I have the three people, when I hover over the columns, the rounded corners become square.

        The site is still in the VERY early stages of development, but you can see what I’m talking about.

        Can you please tell me what I can do to fix these two problems?

        • Maciej Ekstedt

          Hi Paul,
          This is quite old tutorial and hasn’t been updated since a while, but it should work. Based on what I can see, you have still too small images to display them in 2 column layout. Please try to upload bigger images. For 2 columns they should have 600px width.
          Regarding border radius, you can set it in module settings. Please go to Design tab and Border. Add 10-15px border radius and it will be fine 🙂 Hopefully this helps!

Pin It on Pinterest

This site uses Cookies to improve your online experience. By continuing to use this site without changing your cookie preferences we will assume that you are agreeing to our use of cookies. For more information visit ourPrivacy Policy.
Understood