Skip to Main Content

Divi tutorial: How to use the Slide module

Divi: the easiest WordPress theme to use

Divi: The best WordPress theme of all time!

With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

Divi allows you to place sliders in full width sections, making your sliders span the full width of the browser. Divi sliders (Sliders) support parallax backgrounds, as well as video backgrounds!

use a slider on divi.png

How to add a full-width Diapo module from Divi

Before you can add a full width slider module to your page, you must first jump into Divi Builder. Once the Divi theme is installed on your website, you will notice a button Use Divi Builderabove the post editor whenever you create a new page. Click on this button to activate Divi Builder and access all the Divi Builder modules. Then click on the button Use Visual Builder to start the generator in visual mode. You can also click the button Use Visual Builder when you browse your website in the foreground if you are connected to your WordPress dashboard.

use visual builder divi.png

Once you are in the Visual Builder, you can click the gray plus button to add a new module to your page. New modules can only be added inside rows. If you are starting a new page, remember to add a row to your page first.

create a slide divi tutorial wordpress.png

Locate the fullwidth slider module in the list of modules and click on it to add it to your page. The list of mods is searchable, which means you can also type the word "Slide" and then click enter to automatically find and add the full-width slider module! Once the module is added, you will be greeted by the module options list. These options are separated into three main groups: Contents , Design et Advanced .

Use Case Example: Adding a Fullwidth Slider Hero Section to Your Home Page

A full-width slider is a great way to showcase multiple CTAs above the threshold of your homepage. The combination of images and content can really give your section a professional feel that stands out.

For this example, I'll add a full-width slide to serve as the main section on a home page.

create a full-width slide example.jpg

Using Visual Builder, add a Fullwidth section at the top of your web page. Then insert the Fullwidth Slider module into your new section. On the Content tab of the full width slide settings, click + Add a new item to create your first slide.

create a slide divi.png

In the slide settings of your first slide, update the following options:

Content options

En-head : [enter the title of the slide] Button text : [enter the button text] Contents : [enter the text content of the slide] Button URL : [enter the destination URL of the Slide button] Background image : [enter the image that will serve as the backdrop for the slide]

Design options

Use background overlay : YES
Background overlay color : rgba (0,0,0,0.2) this overlay slightly darkens the background image to make the text more readable.

slide divi blogpascher.png

Save slide settings

Now duplicate the slide you just created and update the new slide with new content as needed. Repeat this for all the slides you want to add.

duplicate a divi.png slide

That's all. For this example, I'm only including two slides, but the result is an efficient fullwidth hero slider with multiple calls to action that engage the user to click the button for more information. Since this is your main call to action for your website, I suggest performing split testing on your full width slide using Divi Leads and seeing which one converts the best.

example slide divi dem.gif

Slide Full Content Options

In the content tab, you will find all the content elements of the module, such as text, images and icons. All that controls what appears in your module will always be found in this tab.

slide divi section content.png

arrows

Choose whether or not you want to display the left and right navigation arrows.

Contrôles

Choose whether or not to display the circle buttons / slide indicators at the bottom of the cursor.

Administrator Label

This will change the module label in the constructor for easy identification. When you use the WireFrame view in Visual Builder, these labels appear in the module block of the Divi Builder interface.

Slide Module Design Options

In the Design tab, you will find all the module styling options, such as fonts, colors, sizing and spacing. This is the tab you will use to change the appearance of your module. Each Divi module has a long list of design settings that you can use to change anything.

slide section design divi.png

Remove inner shadow

By default, an internal shadow is displayed in the cursor. If you want to turn off this shadow, you can do so using this setting.

Effect of parallax

Enabling this option will give your background images a fixed position as you scroll. Keep in mind that when this setting is on, your images will scale your images to browser height.

Header font

You can change the font of your header text by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

slide section font design of lentete.png

Header font size

Here you can adjust the size of your header text. You can drag the range slider to increase or decrease the size of your text, or directly enter the desired text size value in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Header Text Color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the color of your header text, choose the desired color from the color picker using this option.

Header letter spacing

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your header text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Header Row Height

Row height affects the space between each row of your header text.If you want to increase the space between each row, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the cursor. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Body Police

You can change your body font by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Body font size

Here you can adjust your body text size. You can drag the range slider to increase or decrease the size of your text, or directly enter the value of the desired text size in the input field to the right of the slider. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

section design slide module divi.png

Body text color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the color of your text, choose the desired color from the color picker using this option.

Spacing of body letters

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Height of the body line

Line height affects the space between each line of text in your body If you want to increase the space between each line, use the range slider to adjust the space or enter the desired spacing size in the input field located to the right of the cursor. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Upper padding

This parameter controls the internal space between the top of the module and the text content in the module. If you want to increase or decrease this space, enter your desired value here. For example, to reduce the space and overall size of the cursor, you could enter a value of 100px. You can also enter a percentage value, for example 10%, to make the height more dynamic.

Bottom padding

This parameter controls the internal space between the bottom of the module and the text content in the module. If you want to increase or decrease this space, enter your desired value here. For example, to reduce the space and overall size of the cursor, you could enter a value of 100px. You can also enter a percentage value, for example 10%, to make the height more dynamic.

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

Use custom styles for the button

Enabling this option reveals various button customization settings that you can use to change the appearance of your module's button.

Button text size

This setting can be used to increase or decrease the size of the text in the button. The button adapts as the text size increases and decreases.

Button text color

By default, the buttons adopt the accent color of your theme as defined in the Theme Customizer. This option allows you to assign a custom text color to the button of this module. Select your custom color using the color picker to change the button color.

divi.png button color

Button background color

By default, the buttons have a transparent background color. This can be changed by selecting the desired background color from the color picker.

Width of the button border

All Divi buttons have a 2px border by default. This border can be increased or decreased using this setting. Borders can be removed by entering a value of 0.

Button border color

By default, the button borders adopt your theme's accent color as defined in the Theme Customizer. This option allows you to assign a custom border color to the button of this module. Select your custom color using the color picker to change the color of the button border.

Button border radius

The radius of the border affects the roundness of the corners of your buttons. By default, the buttons in Divi have a small border radius that rounds the corners by 3 pixels. You can reduce this value to 0 to create a square button or significantly increase it to create buttons with circular edges.

Spacing of the letters of the button

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your button text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Button Font

You can change the font of your button text by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Add a button icon

Disabled, this setting will remove icons from your button. By default, all Divi buttons display an arrow icon on the hover.

Button icon

If icons are enabled, you can use this setting to choose which icon to use in your button. Divi has different icons to choose from.

Color icon button

Adjusting this setting will change the color of the icon that appears on your button. By default, the icon color is the same as your button text color, but this setting allows you to adjust the color independently.

Icon placement button

You can choose to display the icon of your button to the left or right of your button.

Show icon only when hovering over button

By default, the button icons are displayed only when hovering. If you want the icon to always appear, turn this setting off.

Hover text color of the button

When the button is hovered over by a visitor's mouse, this color will be used. The color will change from the base color defined in the previous settings.

Hover button background color

When the button is hovered over by a visitor's mouse, this color will be used. The color will change from the base color defined in the previous settings.

Color Hover Border Button

When the button is hovered over by a visitor's mouse, this color will be used. The color will change from the base color defined in the previous settings.

Hover Border Radius Button

When the button is hovered over by a visitor's mouse, this value will be used. The value will change from the base value defined in the previous settings.

Pointing note spacing button

When the button is hovered over by a visitor's mouse, this value will be used. The value will change from the base value defined in the previous settings.

Advanced options full-width slide module

On the advanced tab, you'll find options that more experienced web designers might find useful, such as custom CSS and HTML attributes. Here you can apply custom CSS to any of the module's many elements. You can also apply custom CSS classes and IDs to the module, which can be used to customize the module in your child theme's style.css file.

advance section slide module divi.png

CSS ID

Enter an optional CSS ID to use for this module. An ID can be used to create a custom CSS style or to link to particular sections of your page.

CSS class

Enter the optional CSS classes to use for this module. A CSS class can be used to create custom CSS styling. You can add multiple classes, separated by a space. These classes can be used in your Divi child theme or in the custom CSS style sheet that you add to your page or to your website using the Divi theme options or the Divi Builder page settings.

Custom CSS

Custom CSS can also be applied to the module and any of the module's internals. In the Custom CSS section, you will find a text field where you can add custom CSS style sheets directly to each element. CSS entries in these settings are already wrapped in style tags. So just enter the CSS rules separated by semicolons.

Automatic animation

If you want the cursor to slide automatically, without the visitor having to click the next button, enable this option, then adjust the rotation speed below if you wish.

Automatic animation speed (in ms)

Here you can indicate how fast the cursor fades between each slide, if the 'Auto-animate' option is enabled above. The higher the number, the longer the pause between each rotation.

Continue Auto slide on Hover

Turning on this will allow auto-slide to continue on the hover of the mouse.

Hide content on mobile

As the screen size gets smaller on mobile devices, screen real estate becomes more valuable. Sometimes it's a good idea to turn off some less important cursor elements to reduce the cursor size and make it more readable. Enabling this setting hides the cursor text content on the mobile.

Hide CTA on mobile

As the screen size gets smaller on mobile devices, screen real estate becomes more valuable. Sometimes it's a good idea to turn off some less important cursor elements to reduce the cursor size and make it more readable. Activating this setting will hide the cursor call to action buttons on mobile.

View image / video on mobile

As the screen size gets smaller on mobile devices, screen real estate becomes more valuable. Sometimes it's a good idea to turn off some less important cursor elements to reduce the cursor size and make it more readable. Enabling this setting displays slide images and videos on mobile (they are disabled by default).

Visibility

This option allows you to control the devices on which your module appears. You can choose to deactivate your module on tablets, smartphones or desktops individually. This is useful if you want to use different mods on different devices, or if you want to simplify the mobile design by eliminating certain elements from the page.

Content options for full-width slide module elements

individual element module divi diapo.png

Title

Set the text of your cursor title here.

Button text

If you want to display a button below your slide content, enter the button text here. Leave this field blank if you do not want to display a button.

Contents

Enter the body content of your cursor here. Note that the amount of text you enter here will determine the height of your slides.

Button URL

If you display a button, insert a valid web URL into this field to set the destination link.

Drag image

If you add a slide image, it will appear to the left of your slide text above your slide background. If you don't specify a slide image, you'll be left with a centered, text-only slide. Because the height of each slide is determined by the text, if your slide image is tall enough, it will fall below the bottom of the slide, creating an aligned image at the bottom.

drag an image divi.png

Note that the height of a slide with a slide image can be determined by a taller slide in the slider. Make sure your slide image is large enough to fit if you want to have an image aligned at the bottom. For readability reasons, slide images only appear in column, column, or 1 column width sliders. Likewise, slide images will not display on browser widths smaller than 768 pixels. Slide image widths are defined below. We recommend that your slide images are at least as wide.

Stop wasting time and money!

Discover the best tool to create your blog, your online store blog or any other website in just a few clicks!

Video slide

If you add a slide video, it will appear to the left of your slide text above your slide background. If you don't specify a slide video, you'll be on the left with a centered, text-only slide. Because the height of each slide is determined by the text, if your slide image is tall enough, it will fall below the bottom of the slide, creating an aligned image at the bottom.

Video pause

Allow video to be paused by other players when they start playing

Background picture

If set, this image will be used as the background for this module. To remove a background image, just remove the URL from the settings field.

The height of a slide is determined by the amount of text you add. If you have multiple slides, the slider will take the height of the tallest slide.

The width of your cursor is determined by the width of the browser. Based on standard screen sizes, we recommend that your images be at least 1280px by 768px.

Position of the background image

By default, background images are displayed in the center of the slide. You can use this setting to change the placement at the top, bottom, left, right, or in any of the four corners of the slide.

Background image size

By default, the background images will be proportionally enlarged to ensure that they fill the entire slide. However, you can use this option to change the default behavior. "Coverage" is the default behavior, which scales the image to cover the entire slide area. “Fit” will also force the image to cover the entire area, however, it will force the height and width of the image to match the height and width of the cursor. This may result in a distorted image, but it will prevent the image from being cropped. "Actual Size" does not scale the image and displays it at its native size.

Background color

If you just want to use a solid color background for your slide, use the color picker to set a background color.

MP4 background video

All videos should be downloaded in both .MP4 .WEBM formats to ensure maximum compatibility in all browsers. Download the .MP4 version here. Important Note: Video backgrounds are disabled from mobile devices. Instead, your bkacground image will be used. For this reason, you should set both a background image and a background video to ensure better results.

WEBM background video

All videos should be downloaded in both .MP4 .WEBM formats to ensure maximum compatibility in all browsers. Download the .WEBM versions here. Important Note: Video backgrounds are disabled from mobile devices. Instead, your bkacground image will be used. For this reason, you should set both a background image and a background video to ensure better results.

Background video width

For videos to be properly sized, you must enter the exact width (in pixels) of your video here.

Video height background

For videos to be properly sized, you must enter the exact height (in pixels) of your video here.

Slide element elements design options

section style module divi.png

Use background overlay

When enabled, a custom overlay color will be added above your background image and behind your slider content.

Background overlay color

Use the color picker to choose a color for the background.

Use text overlay

When this option is enabled, a background color is added behind the cursor text to make it more readable on background images.

Text overlay color

Use the color picker to choose a color for the text overlay.

Text Overlay Border Radius

The radius of the border affects the roundness of the corners of the text overlay area. By default, the corners have a slightly rounded edge of 3 pixels. You can reduce this value to 0 to create a rectangular box or increase the value to make the corners even more rounded.

Custom Color Arrows

When you hover over a slider module, arrows appear to allow the visitor to navigate through each slide. By default, these arrows inherit the color of the main text of the slide. However, you can define a custom color for these arrows using this setting.

Dot Nav Custom Color

In each cursor, point navigation items appear below the cursor content. These elements allow the user to navigate the cursor. You can define a custom color to use for these elements using the color picker in this setting.

Vertical alignment of the slide image

This setting determines the vertical alignment of your slide image. Your image can be centered vertically or aligned at the bottom of your slide.

Text color

If your slide background is dark, the text color should be set to “Light”. Visa versa, if the background of the slide is light, the text color should be set to "Dark".

Header Font

You can change the font of your header text by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Header font size

Here you can adjust the size of your header text. You can drag the range slider to increase or decrease the size of your text, or directly enter the desired text size value in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Header Text Color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the color of your header text, choose the desired color from the color picker using this option.

color of the header section design module dispo divi.png

Header letter spacing

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your header text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Header Row Height

Row height affects the space between each row of your header text.If you want to increase the space between each row, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the cursor. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Body Font

You can change your body font by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Body font size

Here you can adjust your body text size. You can drag the range slider to increase or decrease the size of your text, or directly enter the value of the desired text size in the input field to the right of the slider. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Body text color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the color of your text, choose the desired color from the color picker using this option.

Spacing of body letters

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

body line divi module diapo.png

Height of the body line

Line height affects the space between each line of text in your body If you want to increase the space between each line, use the range slider to adjust the space or enter the desired spacing size in the input field located to the right of the cursor. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Use custom styles for the button

Enabling this option reveals various button customization settings that you can use to change the appearance of your module's button.

Button text size

This setting can be used to increase or decrease the size of the text in the button. The button adapts as the text size increases and decreases.

Button text color

By default, the buttons adopt the accent color of your theme as defined in the Theme Customizer. This option allows you to assign a custom text color to the button of this module. Select your custom color using the color picker to change the button color.

Button background color

By default, the buttons have a transparent background color. This can be changed by selecting the desired background color from the color picker.

Border Width button

All Divi buttons have a 2px border by default. This border can be increased or decreased using this setting. Borders can be removed by entering a value of 0.

Button border color

By default, the button borders adopt your theme's accent color as defined in the Theme Customizer. This option allows you to assign a custom border color to the button of this module. Select your custom color using the color picker to change the color of the button border.

Button border radius

The radius of the border affects the roundness of the corners of your buttons. By default, the buttons in Divi have a small border radius that rounds the corners by 3 pixels. You can reduce this value to 0 to create a square button or significantly increase it to create buttons with circular edges.

configuration button module divi.png

Spacing of the letters of the button

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your button text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Button Font

You can change the font of your button text by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Add a button icon

Disabled, this setting will remove icons from your button. By default, all Divi buttons display an arrow icon on the hover.

Button icon

If icons are enabled, you can use this setting to choose which icon to use in your button. Divi has different icons to choose from.

Color icon button

Adjusting this setting will change the color of the icon that appears on your button. By default, the icon color is the same as your button text color, but this setting allows you to adjust the color independently.

Icon placement button

You can choose to display the icon of your button to the left or right of your button.

Show icon only when hovering over button

By default, the button icons are displayed only when hovering. If you want the icon to always appear, turn this setting off.

Hover text color of the button

When the button is hovered over by a visitor's mouse, this color will be used. The color will change from the base color defined in the previous settings.

Hover button background color

When the button is hovered over by a visitor's mouse, this color will be used. The color will change from the base color defined in the previous settings.

Color Hover Border Button

When the button is hovered over by a visitor's mouse, this color will be used. The color will change from the base color defined in the previous settings.

Hover Border Radius Button

When the button is hovered over by a visitor's mouse, this value will be used. The value will change from the base value defined in the previous settings.

Pointing note spacing button

When the button is hovered over by a visitor's mouse, this value will be used. The value will change from the base value defined in the previous settings.

Advanced cursor options Fullwidth

advance section slide module individual element divi.png

Custom CSS

Custom CSS can also be applied to the module and any of the module's internals. In the Custom CSS section, you will find a text field where you can add custom CSS style sheets directly to each element. CSS entries in these settings are already wrapped in style tags. So just enter the CSS rules separated by semicolons.

Alternative Image Text

The alt text provides all the necessary information if the image is not loading, displaying correctly, or in any other situation where a user cannot see the image. It also allows the image to be read and recognized by search engines.

Other Divi tutorials

This article features 5 comments

  1. Hi

    Thank you for this tutorial, it is really complete!
    Do you know if it is possible to change or even remove the animation from the text? because not default it goes from bottom to top on the background images and it is not very beautiful I think.

    Thank you

  2. Hello,
    Is it possible that clicking a slide button redirects the URL link to a new tab?
    Thank you in advance for your lights !

  3. Hello ! thank you for your article. my problem is the background video not showing on mobile, my client absolutely wanted it. I thought I had found my answer because according to your article, in "Advanced" there is the possibility of activating the videos on mobile which are deactivated by default. but I did not find this possibility on my divi. Thank you for your answer…

    Yanis

Leave a comment

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

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top
6 shares
Share4
tweet
Save2