Blog

Text over image in DIVI

Text over image in DIVI

Anto Fernandez

Today we want to share with you an interesting hack to improve the legibility of the images that have a text over it in Divi. This tutorial is in our  Divi Basics and has been written for users that have just begun in Divi. Nevertheless we can tell you that there are a lot of people that do not know this hack in order to improve its legibility.

There are many ways of adding text to our images but we are going to start with the most simple one. We would create a section or row with an image in the background and we would add a text module inside it. In addition we will add some space and we will center the text to have the same result as this one:

Text over image Divi

The most important part here is to add the same space both up and down so the title stays centered and also some space on each side to avoid the text being close to the edges.

Even if you align the text with the center we recommend you to add some space to sides to avoid the text being too close to the edges on mobile devices.

Add an overlay layer to our image

As I showed you in our previous image, the text is not quite legible, right? This is not normal and this is why I am going to show you how to fix it! 

Adding an overlay layer

Divi allows us to add several background: image, video, solids, gradient, etc. Today we are going to use the gradient so we can add an extra layer that will grant our text to be more legible. So the gradient appears on top of the image, don’t forget to enable the option “Place Gradient Above Background” as it is shown in the image. Otherwise you won’t see any changes. 

Text over image and gradient Divi

As we have seen in the previous example the gradient that we have used is pretty subtle. In both sides of the gradient we’ve used the black colour with a 20% opacity,  this is why the result of the image was a bit darker than the other one. We can also use different colours or just adjust the intensity of any of these.

What do you think about this hack? Interesting? Basic? Leave us your opinion below. 🙂

About Destaca Imagen

CHEMA & ANTO

We are brothers. As a designer and developer, we have decided have to join forces  to create plugins and themes for WordPress.

 

¡Apuntate a nuestra lista!

Los mejores trucos y tutoriales para Divi y WordPress en tu bandeja de entrada

Join our list!

The best tricks and tutorials about Divi in your inbox

On our shop

En nuestra tienda

Suscribe

The best tricks and tutorials about Divi in your inbox

Apúntate a nuestra lista

Los mejores trucos y tutoriales para Divi en tu email

También te podría gustar:

You may also like

Full Height Section in DIVI

Full Height Section in DIVI

How do I create a section that fills the total height of the screen (full screen) in DIVI? In this post we are going to show you how to create the sections that occupy the entire height of the screen. This is ideal for creating more visual webs, powerful call to...

Responsive Font in DIVI

Responsive Font in DIVI

Responsive fonts in DIVI? Is that even possible? YES!!!! What is more, you can do it with any font type! So today we would like to tell you a bit about the Divi responsive font. We will show you how to adapt the font size to your screen, no matter if you look at the...

How to change the color of menu’s links in Divi

How to change the color of menu’s links in Divi

Divi is a popular WordPress theme that comes with a powerful page builder and a wide range of customization options. But it has some limitations and sometimes we need to add CSS code. In fact, we can edit from the back office the color's link, font-size, lettering...

How to change the order of the Divi’s columns in mobile?

How to change the order of the Divi’s columns in mobile?

Divi is a fantastic builder with a few options to create any website. At times it is also necessary to use CSS if we want to achieve the best results. In the example of this post we are going to change the order of the divi columns in mobile device. As we can see in...

0 Comments

Submit a Comment

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

Select currency
Euro
$ United States (US) dollar

Get 5€ Off now!

Register now and get free coupon code.

 Register Now