/*wp_block_styles_on_demand_placeholder:69b2eb73724c9*/ /*# sourceURL=wp-block-library-inline-css */

How to Show the Title on Hover with the Divi Portfolio Module

Last week we showed you How to Add a Filtered Portfolio Triggered by any Divi Module and today we will take that a step further by showing you How to Show the Title on Hover with the Divi Portfolio Module. This neat little trick is a great way to add some additional interactivity to your Portfolio while keeping the design nice and clean.

We will be using some CSS to make this happen, so get your coder hats out and let’s dive right into it!

Preview:

BEFORE
How to Show the Title on Hover with the Divi Portfolio Module Before
AFTER
How to Show the Title on Hover with the Divi Portfolio Module After

Video Tutorial

Where to Add the CSS Code

Whether you followed along with last week’s tutorial, or you are just joining us, adding the CSS is pretty easy. You have the option to add it in either one of two places and which one you choose would pretty much come down to how often you’ll be using this code. We want to make sure that we are not bloating our site with a bunch of code that might only be used once or twice.

Option 1) Divi Theme Options Custom CSS

This is the best place to add the CSS if you will be reusing the CSS class we create on multiple pages.

Head over to Divi > Theme Options > Scroll down to Custom CSS

Paste the CSS code in the box

Add CSS Code to Divi Theme Options

Option 2) Divi Code Module

This is the best place to add the CSS if you only need to show the title on a Divi Portfolio Module on one page.

Edit the Page that has your Divi Portfolio Module

Add a Divi Code Module

Paste the CSS code in the box between opening and closing <style> tags

Add CSS Code to Divi Code Module

The CSS to Show the Title on Hover with the Divi Portfolio Module

Just copy and paste the code below into either of the spots outlined above.

Add the CSS Class to the Divi Portfolio Module

The last step is now to just add the CSS Class we created, to Show the Title on Hover with the Divi Portfolio Modules.

Edit the Divi Portfolio Module > Advanced Tab > CSS Class > de-portfolio-title

WooCommerce Checkout with No Order Bump

Now when you save and reload this page you will have a gorgeous portfolio that shows the title of the portfolio item on hover.

A wild mulleted title appears out of nowhere…

Changing your Divi site URL - The End

Conclusion

We hope this look at How to Show the Title on Hover with the Divi Portfolio Module was helpful to you! With just a little bit of code, we transformed the way our stock Divi Portfolio Module works and it looks so much better!

Definitely drop a comment below to let us know what you think and we always welcome suggestions on how to make this content work better for you.

4 Comments

  1. Thank you so much for this!

  2. Works like a charm, good job 😉

  3. Is this possible using an Archive loop with the “Thumbnail-Divi Machine” Module? My client wants to be able for there to be a way for text to show up on hover dynamically

  4. great but on mobile the text is placed in the middle of the entire module, and not in the center of each thumbnail. Can you fix it? Thank you 🙂

Submit a Comment

Explore more from Divi Engine

Divi Form Builder

Divi Form Builder

From simple contact forms to complex frontend post or product creation, Divi Form Builder has you covered.

Divi Form Builder
Find out more
Divi Machine

Divi Machine

Build complex websites that displays dynamic fields you can filter, search and so much more with the Divi Builder.      

Divi Machine
Find out more
Divi BodyCommerce

Divi BodyCommerce

A versatile toolkit for developers using Divi and WooCommerce together, designed to boost your e-commerce site and achieve greater conversion rates.    

Divi BodyCommerce
Find out more
Divi Handoff

Divi Handoff

Let clients update content without touching the Divi Builder. Design layouts once, connect them to Flexible Content fields, and give editors simple forms for text, images, and sections.

Divi Handoff
Find out more
Divi Loop Extender

Divi Loop Extender

Unlock the Full Power of Divi 5 Loop Builder Add advanced sorting, filtering, and relationship logic right inside the Visual Builder.

Divi Loop Extender
Find out more
Divi Membership

Divi Membership

Monetize your Divi websites by transforming them into membership sites with seamless subscription management, user-friendly interfaces, and customizable membership tiers.

Divi Membership
Find out more
Divi Machine Accounts

Divi Machine Accounts

Build an account area for your customers to edit their details, access wishlist, submitted posts and more. *Note: Requires Divi Machine installed and active

Divi Machine Accounts
Find out more
Divi Ajax Filter

Divi Ajax Filter

Filter WooCommerce, Posts & Custom Posts without reloading the page.    

Divi Ajax Filter
Find out more
Divi Mobile

Divi Mobile

Divi Mobile helps you create beautiful looking mobile menus without having to code.

Divi Mobile
Find out more
Divi Nitro

Divi Nitro

Give your Divi website that extra boost of speed with our Divi Nitro plugin to enhance your customer's experience.

Divi Nitro
Find out more
Divi Protect

Divi Protect

Password protect the content of your Divi website with our Divi Protect plugin. Keep unwanted eyes out!

Divi Protect
Find out more
Divi Mega Menu

Divi Mega Menu

Create stunning, responsive, and content-rich mega menus using the Divi Builder you already know. No coding required.  

Divi Mega Menu
Find out more