Skip to main content
All CollectionsTroubleshooting and FAQsFrequently Asked QuestionsSlider Module
How to Create a Full-Screen Slider Using the Slider Module
How to Create a Full-Screen Slider Using the Slider Module

Learn how to configure the Slider module settings to achieve a full-screen display by using Divi's options and some CSS code.

Updated over 3 months ago

A full-screen slider can create a striking visual impact, capturing visitors' attention with immersive, high-quality images or content.

In this article, we will guide you through the process of creating a full-screen slider using the Slider Module in Divi.

Divi’s Fullwidth Slider Module and regular Slider Module have some great features, including adding sliders with parallax and video backgrounds. However, one feature that would make them even more powerful is the ability to expand to a full-screen slider.

You can also check the How to Create a Fullscreen Slider with Divi blog article, which has a great in-depth guide. The article also offers a free download of the result as well.


Preparing the Layout

  1. In a Regular Section, insert a 1-column Row

    Divi - Add a 1 column Row
  2. Insert the Slider module

    Divi - Add the Slider module

  3. For each Slider module's Slide add a background image.
    Ensure to use larger image such as 1920px by 1500px.

  4. Edit the Row settings by clicking on the Row's Gear icon

  5. Go to Design tab → Spacing → Padding

  6. Set the Top and Bottom padding to 0px

    Divi Row - Spacing Settings

  7. Go to the Design tab → Sizing

  8. Set the Width and Max Width values to 100%

    Divi Row - Sizing Settings

  9. Open the Slider module's settings by clicking on the Gear icon

  10. Go to Advanced Tab Custom CSS Free Form CSS

  11. Add this CSS Code:

    body.logged-in selector .et_pb_slide {
    min-height: calc(100vh - 112px);
    }
    body:not(.logged-in) selector .et_pb_slide {
    min-height: calc(100vh - 80px);
    }

Notes:

  • The 112px value in the CSS code represents the Height of the Header area and the Height of the WordPress admin bar. Depending on the height of your Header area, you might have to change that value.

  • The 80px value in the CSS code represents the Height of the Header Area. Depending on the height of your header area, you might have to change that value.

  • The first CSS rule will be only used if the user is logged in, meaning that the WordPress admin area is visible, whereas the second rule will be used if the user is not logged in.

The final result can be seen in the GIF below:

Divi Fullscreen Slider example

Important Note: The slider preview showcases a fully furnished design created through the Slider Settings → Design tab.

This article focuses on the steps to create a full-screen slider, but you can customize the design according to your preferences.​

Did this answer your question?