Divi Tips #126

How to change an image on mouse hover?

Updated on 11/01/22

756 words

3 reading minutes
12 comments

This article contains affiliate links recognizable by the percentage icon (%) → I am an affiliate link

You can easily play with overflight options offered by Divi. It is called the "hover" Webdesign... For example, one can do a zoom over image as we had seen in a previous tutorial. You can change the color of a text or background... But today I show you how changing an image over the mouse.

- Difficulty: zero!

Duration: time for a coffee!

1 – What is "hover" or "mice fly"?

Is it really necessary to explain what HOVER is? If you are a webdesigner, you know and master... But if you come straight from the ice age, here's a little definition:

The "Hover" or "Mouse Overflight" is the act of displaying a different state or status to an element when the internet user passes the mouse over it.

It's very common to create original layouts: change color, change size, change position, etc.

Did you know that? You can test Divi for free by visiting on this page and by clicking on "TRY IT FOR FREE"

2 - Change an image on the flyover in 3 clicks

The advantage is that Divi offers overflight options in each module and the Image module Don't deviate from the rule, of course!

So, have you ever thought about changing a picture squarely when you pass the mouse? It's possible and it's very easy:

  1. Add an image module within your layout with Visual Builder
  2. Import your first image, it will be called image "A"
  3. Activate the hover option by clicking on the arrow icon.
  4. Select Hover tab (Flotter tab), mistranslated) and import your second image, image "B".
Add Image Module
Add an image module within your layout
import image A
Import first image "A"
import image B
Enable overflight options and import image "B"

That's it!

Nothing simpler, isn't it?

Don't hesitate to check both tabs (desk tab and flicker tab) to check that both images are in the right places.

enable the right tabs
Check images for each tab

3 – Tips for a successful effect

You will notice that for the effect to be successful, it is better to use two images that overlap perfectly.

For my example, I duplicated the same image twice and then changed the color and added graphic elements. I did this using two software programs:

  • Affinity Photo to turn the image and change the color
  • Affinity Designer to add graphical elements

As I explain in the following video, it took more time to make these images than to integrate them into Divi.

This reminds us that a good layout and good site design does not rely exclusively on the technique to create the site... On the contrary: your content – your texts and your images – will make all the difference! Then, Divi will allow you to integrate them easily...

4 - Change image over mouse: the tutorial in video

Here's the little video recap... Since it's a very short Divi tutorial, I took the opportunity to add, as a bonus, the design of these two images at the end of the video... So if you're curious, watch the entire video!

Don't delay! Discover the theme Divi here !

5 - Overflight options available in all Divi modules

As a reminder, The overflight options are available in each Divi module! Simply pass the mouse next to the title of the module to see the hover icons and other options... So don't hesitate to use it!

Besides, it is also in this place that you can activate the phone icon that allows you to handle pixel near responsive of each module. I will never repeat it enough: look well, all the options are there, in front of your eyes,

Want to customize Divi as a pro? Discover all the tutorials!

6 - To go further

To go further with Divi's Hover feature, here is a small list of tutorials:

hover divi image ok
image overview divi ok

Divi training via CPF

Get Divi

Divi training

Ebook Divi PDF

Free tips

Divi Quiz

Live coaching

icon 256x256

Proudly translated by wpLingua, the translation extension for WordPress That I develop! SEO-Friendly / Automatic / Editable

Your comments...

12 Commentaires

  1. Meyer Michel

    Hello Licia, voilà tu as fait un nouveau adepte 😉 en tous cas c’est chouette ton aide que tu apportes et un grand Merci pour tes nombreux tutos.
    Ici sur ce tuto, je pourrais être tenté, sauf ce qui me gène au passage de la souris pour le changement d’image, c’est ce petit « flash » blanc qu’il y à et ça donne un rendu pas du tout fluide entre les deux images. Dommage l’idée est intéressante !
    Cordialement
    Michel

  2. Meyer Michel

    Finalement ça passe bien avec l’essaie que j’ai fait, la transition est fluide 😉

  3. Lycia Diaz

    Oui je vois ce que tu veux dire… tu as certainement raison

  4. Lycia Diaz

    Ah super !

  5. Laura

    Bonjour Lycia,
    J’aimerais mettre une image survolée (donc deux images,) dans mon menu entête à la place du mot boutique et dans un de mes menus pied de page, ou si pas possible à côté du menu entête.
    L’astuce image Visual Builder module n’est pas applicable dans ce cas.
    Avez vous une solution à me proposer svp ?

  6. Lycia Diaz

    Oui je vois. Pas d’idées à part bidouiller avec du CSS

  7. Phil

    Bonjour !
    Après quelques années chez shopify, je commence à me familiariser avec Divi que je trouve intéressant au niveau seo. Mais je désespère à ne pas trouver une astuce ou module pour savoir comment afficher une seconde image au survol d’un produit !
    Avec le thème Dawn de shopify, cette fonction est proposée naturellement mais là avec Divi, je n’ai rien trouvé sur ce sujet. Auriez-vous une info sur ce sujet ou faudra-t-il retourner à l’âge de glace ? 😉
    Merci d’avance pour votre aide.

  8. Lycia Diaz

    Eh bien non, il n’y a pas d’option pour ça. D’où ce tutoriel. Peut-être qu’un plugin tiers propose ça ? Peut-être Divi Suprême ? À voir…

  9. Jean-Claude Décrevel

    J ai un soucis avec mes images sur Divi, mes image sont grisées a 50 % . Que faire

  10. Lycia Diaz

    Je ne sais pas, je suppose qui faut inspecter votre site pour mieux comprendre ce qu’il se passe. Il doit y avoir un dégradé de paramétré quelque part.

  11. EliseR

    Bonjour,
    Merci pour cette solution très simple (et plus généralement pour vos tutos sur lesquels je tombent régulièrement).
    J’ai lu le commentaire de @Meyer Michel et, comme lui, j’aimerai faire disparaître cet effet de flash lors de la transition mais je ne vois pas comment faire cela. Quelqu’un pourrait-il m’aider ?
    D’avance merci

  12. Lycia Diaz

    Bonjour Elise, malheureusement je n’ai pas trouvé de solution à ce « flash »

Submit a comment

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