How to Reveal Content on Hover with Expanding Corner Tabs in Divi (FREE Download)

Last Updated on September 18, 2022 by 12 Comments

How to Reveal Content on Hover with Expanding Corner Tabs in Divi (FREE Download)
Blog / Divi Resources / How to Reveal Content on Hover with Expanding Corner Tabs in Divi (FREE Download)

It’s always fun to discover new and creative ways to engage users with your content using unique hover effects. One great way to do this is to reveal content on hover using expanding corner tabs. This allows the user to hover over a tab in the corner of a column or image to expand an overlay with additional helpful content for the user.

For this tutorial, we are going to create a completely unique Divi layout that will reveal content on hover using expanding corner tabs. In fact we’ll show you how to design an expanding corner tab for all four corners of a column in Divi.

Let’s get started!

Sneak Peek

Here is a quick look at the expanding corner tab layout we will build together. Notice how the hover effects and content are beautifully symmetrical.

expanding corner tabs

Download the Layout for FREE

To lay your hands on the designs from this tutorial, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our newsletter by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If you’re already on the list, simply enter your email address below and click download. You will not be “resubscribed” or receive extra emails.

To import the layout to your page, simply extract the zip file and drag the json file into the Divi Builder.

Letís get to the tutorial shall we?

What You Need to Get Started

expanding corner tabs

To get started, you will need to do the following:

  1. If you haven’t yet, install and activate the Divi Theme.
  2. Create a new page in WordPress and use the Divi Builder to edit the page on the front end (visual builder).
  3. Choose the option “Build From Scratch”.

After that, you will have a blank canvas to start designing in Divi.

Creating the Expanding Content Overlays Layout from Scratch

Part 1: Creating an Expanding Corner Tab from the Bottom Right Position

To start, add a two-column (one-half one-half) row to the regular section.

expanding corner tabs

Before adding a module, update the row settings with a custom gutter width as follows:

  • Gutter Width: 4

expanding corner tabs

For this first featured item, we will create a column background image that will have a corner tab (using a blurb module) at the bottom right of the column that expands and overlays the entire column/image on hover.

Let’s start with adding a blurb module.

Add Blurb Module

Add a blurb module to column 1.

expanding corner tabs

We aren’t going to style it just yet. We basically needed some content so that we can style the column that contains the blurb.

Column 1 Settings

With the blurb in place, open the row settings and then click to edit column 1 settings. Then update the following:

  • Background Image [insert image]
  • Background Image Size: Actual Size

expanding corner tabs

NOTE: for my example, I’m using the transparent background beer images taken from the Brewery Layout Pack. They are 128px by 359px which is why I’m using the actual size of the image.

Column 1 Border
  • Rounded Corners : 10px bottom right
  • Right Border Width: 2px
  • Right Border Color: #e94558
  • Bottom Border Width: 2px
  • Bottom Border Color: #e94558

expanding corner tabs

Custom CSS and Overflow

Under the advanced tab, add the following custom CSS to the main element:

height: 400px;

The update the following:

  • Horizontal Overflow: Hidden
  • Vertical Overflow: Hidden

expanding corner tabs

This custom height is necessary in order for our blurb module (corner tab) to expand the full height of the column. And the hidden overflow is needed so that we can hide most of the blurb module outside the column until the hover state.

Adding Blurb Module Content

Now we are ready to start customizing the blurb module inside of column 1. Open the blurb settings and update the following:

  • Title: Mango IPA
  • Body:
    <p>Vivamus suscipit tortor eget felis porttitor volutpat. Pellentesque in ipsum id orci porta dapibus. Quisque velit nisi, pretium ut lacinia in, elementum id enim. Curabitur arcu erat, accumsan id imperdiet</p>
    <p>Hops: Lorem Ipsum<br /> Yeast: Dolor Amet</p>
    <p>4.8% ABV / 4 IBUs</p>
    
  • Image: Add same image used for the column background

expanding corner tabs

Designing the Blurb Module

Give the blurb a background color on hover as follows:

  • Background Color (desktop): transparent
  • Background color (hover): rgba(255,255,255,0.9)

expanding corner tabs

Under the design tab, update the following:

  • Image/Icon Placement: Left
  • Title Font: Oswald
  • Title Font Style: TT
  • Title Text Size: 40px
  • Body Font Weight: Semi Bold
  • Body Text Color (desktop): transparent
  • Body Text Color (hover): #121212

expanding corner tabs

  • Image Width: 100px (desktop), 64px (phone)
  • Content Width: 100%
  • Height: 100%
  • Padding (desktop): 15% top, 15% bottom, 8% left, 8% right
  • Padding (hover): 8% top, 8% bottom, 8% left, 8% right

expanding corner tabs

  • Rounded Corners (default): 20px top left
  • Rounded Corners (hover): 10px top left
  • Top Border Width: 4px (desktop), 2px (hover)
  • Top Border Color: #e94558
  • Left Border Width: 4px (desktop), 2px (hover)
  • Left Border Color: #e94558

expanding corner tabs

Transform Option (Desktop)
  • Transform Scale Y Axis: 50%
  • Transform Scale X Axis: 50%
  • Transform Translate Y Axis: 50%
  • Transform Translate X Axis: 30%
  • Transform Origin: Bottom Right

expanding corner tabs

Transform Options (Hover)
  • Transform Scale Y Axis (hover): 100%
  • Transform Scale X Axis (hover): 100%
  • Transform Translate Y Axis (hover): 0%
  • Transform Translate X Axis (hover): 0%

expanding corner tabs

In order to flip the blurb image over to the right side, add the following custom CSS to the Blurb Content box:

direction: rtl

NOTE: The direction “rtl” stands for “right to left” which switches the default order of the content (left to right).

expanding corner tabs

Result

Let’s check out the final result of our expanding corner tab from the bottom right position. Notice how it expands to fill the entire column on hover.

expanding corner tabs

Part 2: Creating an Expanding Corner Tab from the Bottom Left Position

Duplicate the Column

To create the expanding corner tab from the bottom left position, we can jumpstart the design by duplicating the entire column. Open the row settings and duplicate column 1. Then delete the extra column so that you only have two exact duplicates.

expanding corner tabs

Update Column 2 Settings

Next, open the settings for column 2 and update the following:

  • Rounded Corners: 10px bottom left
  • Right Border Width: 0px
  • Left Border Width: 2px
  • Left Border Color: #e94558

expanding corner tabs

Update Blurb Settings

Next, update the Blurb Settings as follows:

  • Text Alignment: right
  • Rounded Corners (desktop): 20px top right
  • Rounded Corners (hover): 10px top right
  • Left Border Width: 0px
  • Right Border Width: 4px (desktop), 2px (hover)
  • Right Border Color: #e94558

expanding corner tabs

  • Transform Translate X Axis (desktop): -30%
  • Transform Origin (desktop): bottom left

Then make sure to delete the custom CSS in the Blurb Content box.

expanding corner tabs

Result

Here is the result. Notice how this one is symmetrical to the first one and expands from the bottom left position of the column.

expanding corner tabs

Part 3: Creating an Expanding Corner Tab from the Top Right Position

Now we are ready to start our last two expanding corner tab designs. To get a head start, let’s duplicate the entire row containing the blurb we already designed.

expanding corner tabs

Update Column 1 Settings

Next open the settings of the duplicate row and then open the settings for column 1 and update the following:

  • Rounded Corners 10px top right
  • Bottom Border Width: 0px
  • Top Border Width: 2px
  • Top Border Color: #e94558

expanding corner tabs

Update Blurb Module Settings

Next, open the setting for the blurb module and update the following:

  • Rounded Corners (desktop): 20px bottom left
  • Rounded Corners (hover): 10px bottom left
  • Top Border Width: 0px
  • Bottom Border Width: 4px (desktop), 2px (hover)
  • Bottom Border Color: #e94558
  • Transform Translate Y Axis (desktop): -50%
  • Transform Origin: top right

expanding corner tabs

Blurb Custom CSS

Right now we can only see the bottom left portion of the blurb module which doesn’t show our title like the other two blurbs in the row above. In order to show the Title inside the tab, we need to reposition the title to the bottom left of the blurb with some custom CSS.

Add the following Custom CSS to the Blurb Title box:

position: absolute;
bottom: 0;
left: 15px;

Then add the following CSS to the Blurb Content Box:

direction: rtl;
height: 100%;

expanding corner tabs

Part 4: Creating an Expanding Corner Tab from the Top Left Position

For our fourth and final expanding corner tab hover effect we are going to position it at the top left corner to complete the symmetrical design of the entire grid layout.

Update Column 2 Settings

Under the row settings, open the settings for column 2 and update the following:

  • Rounded Corners: 10px top left
  • Bottom Border Width: 0px
  • Top Border Width: 2px
  • Top Border Color: #e94558

expanding corner tabs

Update Blurb Settings

Next, open the settings for the blurb in column 2 and update the following:

  • Rounded Corners (desktop): 20px bottom right
  • Rounded Corners (hover): 10px bottom right
  • Top Border Width: 0px
  • Bottom Border Width: 4px (desktop), 2px (hover)
  • Bottom Border Color: #e94558

expanding corner tabs

Then update the transform options:

  • Transform Translate X Axis (desktop): -30%
  • Transform Origin: Top Left

expanding corner tabs

Blurb Custom CSS

Then add the following Custom CSS to the Blurb Title box:

position: absolute;
bottom: 0%;
right: 0%;

Then add the following CSS to the Blurb Content box:

height: 100%;

expanding corner tabs

Part 4: Finishing the Design of the Layout

Section Background Color

Add a Section Background Color as follows:

  • Background Color: #efefef

expanding corner tabs

Adding the Title

To create the title, add a row in the middle of the two rows and add a text module to the one column row.

expanding corner tabs

Add the content: “Seasonal”.

Then update the following settings:

  • Heading 2 font: Merriweather
  • Heading 2 Font Weight: Bold
  • Heading 2 Font Style: TT
  • Heading 2 Text Alignment: Center
  • Heading 2 Text Color: #999999
  • Heading 2 Text Size: 50px (desktop), 30px (tablet), 24px (phone)
  • Heading 2 Letter Spacing: 1em
  • Padding: 50px left (desktop), 30px left (tablet), 24px left (phone)

expanding corner tabs

Final Result

Check out the final result of the layout with expanding corner tabs.

expanding corner tabs

expanding corner tabs

And here is the design on mobile.

Final Thoughts

The expanding corner tabs featured in this layout design will definitely work for all kinds of content you want to feature on your Divi website. You don’t have to use all four corners either. For example, you can create a grid layout for images using only top right corner tabs to reveal content on hover. The design capabilities are plentiful with this one. Have fun.

I look forward to hearing from you in the comments.

Cheers!

Divi Marketplace

Are You A Divi User? Find Out How To Get More From Divi! 👇

Browse hundreds of modules and thousands of layouts.

Visit Marketplace
Divi Marketplace
Divi Cloud

Find Out How To Improve Your Divi Workflow 👇

Learn about the new way to manage your Divi assets.

Get Divi Cloud
Divi Cloud
Divi Hosting

Want To Speed Up Your Divi Website? Find Out How 👇

Get fast WordPress hosting optimized for Divi.

Speed Up Divi
Divi Hosting
Premade Layouts

Check Out These Related Posts

New Starter Site for Estheticians (Quick Install)

New Starter Site for Estheticians (Quick Install)

Posted on November 12, 2024 in Divi Resources

Divi empowers you to build the best websites possible, and now, Divi Quick Sites takes website creation to a whole new level. This revolutionary tool lets anyone, regardless of skill level, generate a complete website in under two minutes! Divi Quick Sites provides everything you need to launch...

View Full Post
Divi 5 Update: Public Alpha Version 3

Divi 5 Update: Public Alpha Version 3

Posted on November 11, 2024 in Divi Resources

The Divi 5 Public Alpha is available for testing. As we progress towards the final release, we’ll update Divi 5 every two weeks, appearing as a standard update in your WordPress dashboard. If you use Divi 5, you’ll notice an update notification for Public Alpha Version 3 today. Thanks...

View Full Post

12 Comments

  1. Hi

    I really want to do this on my new page, but this is for an old version of Divi.

    I finally found hover, but there are other parts om struggeling with, I cannot find the exact place you are editing.

    Is there a way I can find the correct places in my Divi (it is the newest version and in Danish)

    Best regards
    Jeric

  2. Thanks Jason, this is a great tutorial. I’m trying to implement a similar design with the Shop module – I’d like to replace/overlay the image with the product details. But I don’t see a way of doing it. Any advice?

  3. Another great tutorial that I can’t wait to try out!! I especially love the little tidbit on the RTL code for blurb images.

    One question though- is it true that using techniques as these also hides the content from SEO crawlers?

  4. I have followed these tricks on my blog and impressively it’s work. So many many thanks about it.

  5. the article is very good and easy to understand

  6. This really helped me to create that section. I am new to Divi and yes the tutorials you guys have really straight to the point and easy to implement. Thanks.

    • Awesome! That’s great to hear.

  7. Amazing

  8. LOVE this. Thanks so much Jason!

    • You are very welcome, Jamie. Thanks for the comment.

  9. Absolutely excellent tutorial! I can see many awesome applications of this technique!

    • Great to hear, Keegan

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Join To Download Today