Skip to main content
How to Change the Video Module's Overlay Play Icon

Learn how to select and upload a custom play icon for the Video module that aligns with your site's design and branding

Updated over a week ago

Customizing the play icon on your video overlays can enhance the visual appeal and user experience of your Divi website.

In this article, we will guide you through the process of changing the Video Module's overlay play icon.

If you are using the Overlay option in the Video module and generate a thumbnail for the video, you will notice the play icon on top of that image:

Divi Video Module

If you want to change it, custom CSS code will have to be used. This customization involves two steps:

  1. Upload the custom image that you want to use instead of the default Play icon

  2. Use custom CSS code to change the Play icon with your custom image.

Upload the image to WordPress or choose one from the Media Library

  1. Go to Dashboard Media Library and upload or choose an existing image.

  2. Select the image that you want to use

  3. Make sure the size of the image is appropriate. We do recommend using images with an aspect ratio of 1:1. The recommended size is 48x48px.

  4. Click on the Copy URL to Clipboard button to copy the URL of the image to your clipboard

    WordPress Media Library - Image details

  5. Open the Video module's settings for which you want to change the default Play icon

  6. Go to Advanced Tab Custom CSS Free Form CSS

  7. Paste the following CSS code:

    selector .et_pb_video_play:before {
    background: url(https://site.com/icon.png);
    font-size: 0;
    height: 60px;
    width: 60px;
    display: block;
    left: 0;
    right: 0;
    margin: auto;
    }

    selector a.et_pb_video_play {
    margin-left: 0 !important;
    left: 0;
    right: 0;
    }

Note: In the above CSS Code, make sure you change the https://site.com/icon.png path with your actual image path - from Step 4.

The result can be seen in the screenshot below: 

Divi Video module with a custom play icon
Did this answer your question?