How to Customize Divi Portfolio Module

In today’s tutorial I will show you how to create a beautiful portfolio section for displaying your work in a nice and clean way.

Portfolio is a very important part of every business website. Customers want to see some samples of our work before they will hire us so it is crucial to showcase our work in a pleasant way.

As you know, default Divi Portfolio Module isn’t too attractive but it’s highly customizable. We can change colors, font sizes, overlay icon and overlay color in module customizer but what if we want to add some text animations or repositioning elements? Well we can do that too. With a few lines of CSS we can transform default Divi Portfolio module into a nice Portfolio section with hover effects and animations that will attract your potential customers.

In this tutorial I will show you how to customize Title and Meta Texts. We will hide them by default and make them sliding down on mouseover. We will also add a custom background overlay using CSS brightness filter, so when user hover on portfolio item he will be able to easily read texts. Let’s get started!

  • You will need to have the Divi Theme by Elegant Themes installed.
  • You can follow this tutorial or download Ready-To-Use Divi Builder section with CSS code embedded.

Live Preview    Download Section


Add Portfolio items

First thing we need to do is to add Portfolio items to our website so they will be displayed when we use Portfolio module.

  1. Go to Projects/Add New
  2. Name your project and upload Featured Image
  3. Click Publish

* You can also add project description and more images however for this tutorial we only need Featured Images setup.


Add Section, Row and Portfolio Module

For this tutorial we will add row with 1 column and we will place Portfolio Module inside it.

  1. Add new Standard Section and select 1 column layout

Apply CSS Class and customize Row Settings

In this step we need to apply a few settings that will make our section full width and remove spaces between images. We will aslo add class that will apply Custom CSS to our Portfolio Module.

1. Open Row Module Settings and in Design tab set the following options:

2. Go to Advanced tab and add CSS Class  b3_portfolio


Customize Portfolio Module

Open Portfolio Module Settings and customize as following:

  1. In Content tab set Pignation OFF (optionally)
  2. Go to Design tab and select Grid Layout
  3. Set Zoom Icon and Hover Overlay Color to transparentFor this tutorial we don’t want to display icon however you can experiment. Background must be transparent because we will use custom CSS Brightness Filter to execute dark image hover effect.

3. Set Text Color to White and Text Orientation to Center

4. For Title Text we use Montserrat font with Bold option enabled.

5. For Meta Text enable Uppercase Mode and add 1px Letter Spacing.


Adding CSS

In this last step we will add some CSS to the Divi/Theme Options/Custom CSS section or you can just copy and paste it in to your style.css file located in your child theme folder – Appearance/Editor. Make sure to save your work.

This is it! Thank you for your attention! This was my sixth tutorial and I’ve got more to come! If you enjoy these, please let me know in the comments below.

Maciej Ekstedt

Maciej Ekstedt

Creative Director

Divi Icons PRO Has Just Launched!

Let’s celebrate! We have a sweet deal for you! You can get the best icon plugin for Divi with a 10% discount! Use the coupon code DIVIICONS10 at checkout!


  1. Andy

    Just the way tutorials should be… Clear, concise, with pictures so no confusion. Good tutorial with a nice effect. Thanks very much for your efforts. I really like your work.

    All the best


  2. Dehn Merrill

    Although I still work with Divi every day, maintaining and creating sites still….I haven’t been hanging in the community much….and I still make it a point to catch your tut’s and share them back onto the socials I crawl.

    Absolutely love your work and appreciate the time you save me.

    • Maciej Ekstedt

      Hey Dehn,
      It’s a pleasure to create something nice and share with the community. I’m glad you like it 🙂

  3. Kate

    How do you make, upon click, to view larger image?

    • Maciej Ekstedt

      Hi Kate, Divi Portfolio module opens project page by default. You could instead use Gallery module to open image lightbox. You would have to tweak CSS, replace this:

      .et_pb_portfolio_grid .et_pb_portfolio_item

      with this:

      .et_pb_gallery_grid .et_pb_gallery_item

      • Antonio

        Hi Maciej, I’m sought of a newbie when it comes to Divi but i can make my way around to tweak and fix. I want to go a bit deeper on Kate’s Question. I would love to do what you did above with the filterable effect, but would love to just have people click on the image and just have it zoom foward without going to Project page. Could you explain a bit better on how to do this ? Example

        1. create child theme
        2. place this code in this folder
        3. place this code in this folder
        4. use this moduler

        Thanks in advance

        • Maciej Ekstedt

          Hi Antonio 🙂
          For sure it is possible. You would only have to use Gallery Module for that but CSS to apply this effect to the Gallery module would be slightly different. Unfortunately we do not have a tutorial on how to add it to Gallery Module yet, but this is something we can work on soon 🙂

  4. Mitch Powell

    Hi Maciej,
    This is a great tutorial, exactly the way I would like to do my portfolio.
    Thank you,

  5. olly

    hi – will this customisation work for a filterable portfolio section, ‘as is’?


    • Maciej Ekstedt

      Unfortunately not Olly. It won’t work with filterable portfolio module “as it is” and some tweaks would have to be applied.

  6. Leo Villanova

    I´ve been searching for a solution like this and yours was the easiest and more effective.

  7. Jonhy

    Hi, I’m very happy with your work, I think the divi theme people should pay more attention to the filterable portfolio module that does not have the option to customize the menus and effects in the images …

    Thank you for your attention

  8. Richard

    Very nicely done. Is there a way to add the category menu above the grid? And can a portfolio item in the grid link to a URL, not the project page?

  9. Kasia

    Great tutorial, makes me want to upgrade my existing portfolio modules 🙂

  10. Cat

    Amazing! Thank you so much, my portfolio page has driven me mental for years (yes, years!) It was always just meh 😐 Now I am so happy with it thanks to you and your wonderful tutorial 🙂

  11. Henry

    Thank You for tutorial,
    It works, but still align to left, I have only 3 items in row and need align it to center.

    How resolve it?

    • Maciej Ekstedt

      Hi Henry,
      Divi by default display 4 images in Portfolio module. To change default Divi settings and display only 3 items you would need some custom coding and several fixes to make it responsive. I believe the best and the easiest solution is to add one more image and have finally 4 images for this module.

  12. Matt

    Hold the phone… I added the css identifier to the module not the row. It works now. I juts have to edit the spacing of the title and meta. When my title is too long it overlaps into the meta.

  13. Christopher T Allen

    You mentioned a description could be added? I’ve been messing with it, but I can’t seem to figure out how. Any pointers?

  14. Bill Even

    Well done. I wish all tutorials were laid out like this.

  15. Jade

    Hi there. Great tutorial. I now have my portfolio displaying in a grid, and I have added small borders to suit the site. What I can’t get to work is the hover effect. I have followed all the steps? Any ideas what could be causing this?

    • Maciej Ekstedt


      It seems that you have used Filterable Portfolio module on your website. Unfortunately this tutorial explains how to apply this effect to Portfolio module. To make it working with Filterable Portfolio module, some classes in CSS would have to be changed.

      • Miklos Takacs

        Hello, would you tell us which classes should be changed in order to work with filterable portfolio?


Submit a Comment

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

Pin It on Pinterest