How to add text over an image in Divi

Nov 20, 2020 | Divi Resources

How to display text over an image in Divi

In times of modern web design trends, there are multiple times when a designer needs to add fancy texts. And a text over an image is one of them. However, most of the time, users find it very confusing, which requires them to go through multiple steps to accomplish this design need. Therefore, in this blog post, I am going to share with you some simple steps to display text over an image. Plus, I’ll also share how you can add a background color to it.

So, without any delay, let’s see how we can display text over an image.

Divi Text Over an Image on hover


Step 1: Insert text module

To start creating the text over an image, we need to insert the Text module in the builder.

Insert Divi text module

After inserting the module, add the text you want to display over an image.

Add your text over image in Divi

Step 2: Style text

Now, once added the text, move to the Design tab, and inside Text settings, style the text as required.

Text module styling

For this tutorial, I’ve made the following customizations,

Text Font: Acme

Text Font Weight: Bold

Color: #0c71c3

Text Size: 42px

Text styling values for text over an image

Text Letter Spacing: 4px

Line Height: 1.8em

Shadow: Look in the screenshot

Text Shadow Horizontal Length: 0em

Text Shadow Vertical Length: 0.04em

Divi text customization

The text will look same as the below screenshot after applying the customizations.

Creating text over an image

Step 3: Assign CSS ID

Once you made the text customizations, move to the Advanced tab, and in the CSS ID & Classes.

Advanced tab of the Divi text module for text over an image

Here, in the CSS Class, input clip-image-hover CSS class name, and Save Changes

Assigning class name for text over an image on hover

Step 4: Add CSS

Now, click three dots at the center and then settings (⚙️) icon to open the page’s settings.

Advanced settings of a Divi page

Then, move to the Advanced tab of the page settings, and the Custom CSS, input the below CSS.

Divi page's advanced tab

Step 5: Input image URL

Upon inserting the CSS, make sure you input your image URL in the CSS, which you want to be seen when users hover over the text.

Text over an image URL insertion

Step 6: Adjust width of the Text

After image URL insertion, we need to adjust the width of the text. So, when users hover over the text, it doesn’t show below image from a distance. To adjust the width of the text, you need to go to the Design tab of the module >> Sizing >> Width >> and adjust text width according to the requirement.

Text over an image on hover

That’s it; we’ve successfully created our text over an image on hover in Divi. Now, let’s see how we can create text over an image by default.

Divi Text Over an Image


Step 1: Insert DP Fancy Text module on a page

To display text over an image in a Divi website, first, we need to insert the Divi Plus Fancy Text module on a page.

Divi Plus fancy text module

Step 2: Select Text Style

After inserting the module, it asks you to choose fancy text’s style in the Fancy Text Content settings of the Content tab. Here, from the available options, select Background Clipping.

Fancy text module background clipping option

Step 3: Input Text

Now, after choosing the Text Style, input your fancy text in the Fancy Text field.

Text inside fancy text module

Step 4: Choose Image to create text Over an Image

To apply text over an image, we need to move to the Design Tab of the module. Then in the Fancy Text Styling settings, choose the image you want below the text.

Fancy text module image selection for text over an image

Step 5: Apply Text Styling

We’re not done yet, to make the Fancy Text look more engaging, it’s good we apply some text customzation. So, to do that, go to the Text Settings, in the Design tab, and apply appropriate changes.

Fancy text design settings

That’s it; we’ve successfully created text over an image using the Fancy Text module. After applying the text styling, the text would look like the below image.

Example of text over an image using fancy text module

If you want to create Text over an image easily, then try the Fancy Text module of the Divi Plus plugin. Apart from adding an image behind a text, you can customize the text in multiple ways using this module. Get it today, and let me know your experiences in the comment box below.

Posted By:
Vishvendra
Vishvendra believes in the keep learning process and applying those learnings into work. Other than technical writing, he likes to write fiction, non-fiction, songs, and comic ideas. He loves what he writes and writes what he loves. Search his name with "Nathawat," and you'll easily find him over the internet.

1 Comment

  1. Руслана

    As I learned Divi over the years, I ve searched for a solution to add a button over an image. Most of them required adding a separate button module or using the call-to-action module, but that doesn t work because the image is a background image, which crops weird and is not reliable and background images don t help SEO. So I had to come up with my own hack. It s not perfect, but it does work. 

    Reply

Submit a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1 Comment

  1. Руслана

    As I learned Divi over the years, I ve searched for a solution to add a button over an image. Most of them required adding a separate button module or using the call-to-action module, but that doesn t work because the image is a background image, which crops weird and is not reliable and background images don t help SEO. So I had to come up with my own hack. It s not perfect, but it does work. 

    Reply

Submit a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Why Switch to WordPress from Other CMS

Why Switch to WordPress from Other CMS

Are you still using a CMS other than WordPress? If so, you might be missing the most robust and interesting features that only WordPress offers. So, you need to change your CMS as soon as possible. WordPress has surprisingly earned the most commonly used CMS status...

How to Add Citations and Bibliography in WordPress Posts

How to Add Citations and Bibliography in WordPress Posts

If you want to know how to add citations and bibliography in WordPress posts, you are on the right track. Citations play a huge role in helping companies and brands in search engine optimization.  Through the citations, search engines understand a business’...

Divi WooCommerce Extended