How to Add a Soft Box Shadow to Your Divi Slider Module

Last Updated on September 16, 2022 by 4 Comments

How to Add a Soft Box Shadow to Your Divi Slider Module
Blog / Divi Resources / How to Add a Soft Box Shadow to Your Divi Slider Module

One of the easiest and most effective ways to add depth to a design is to add a box shadow. In today’s tutorial, we’re going to show you how to style a sleek slider box with a soft box shadow. The trick is to add a thick light border to draw attention to the edges. This design is subtle but elegant and can easily be tweaked to fit just about any kind of website.

Let’s dive in!

Sneak Peek

Here is a quick look at the design we’ll build in this tutorial.

divi slider with soft box shadow

Download the Layout for FREE

To lay your hands on the designs from this tutorial, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our newsletter by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If you’re already on the list, simply enter your email address below and click download. You will not be “resubscribed” or receive extra emails.

To import the section layout to your Divi Library, navigate to the Divi Library.

Click the Import button.

In the portability popup, select the import tab and choose the download file from your computer.

Then click the import button.

divi notification box

Once done, the section layout will be available in the Divi Builder.

Let’s get to the tutorial, shall we?

What You Need to Get Started

expanding corner tabs

To get started, you will need to do the following:

  1. If you haven’t yet, install and activate the Divi Theme.
  2. Create a new page in WordPress and use the Divi Builder to edit the page on the front end (visual builder).
  3. Choose the option “Build From Scratch”.

After that, you will have a blank canvas to start designing in Divi.

Creating a Unique Slider Design with a Soft Box Shadow in Divi

Part 1: Designing the Section and Row for the Slider

Designing the Section

  • Add Background Image (about 1920px by 1080px)
  • Padding: 18vh top, 18vh bottom

divi slider with soft box shadow

Designing the Row

Once the section is done, add a one-column row to the section.

divi slider with soft box shadow

Then update the row padding as follows:

  • Padding: 0px top, 0px bottom

divi slider with soft box shadow

Part 2: Designing the Slider with a Soft Box Shadow

Now that our row is in place, we are ready to start designing the slider.

Add a new slider module to the row.

divi slider with soft box shadow

The Slider Background

Then update the background with a semi-transparent white color.

  • Background Color: rgba(255,255,255,0.75)

divi slider with soft box shadow

Navigation and Title Design Settings

Under the design tab, update the following:

  • Arrow Color: #776cb1
  • Dot Navigation Color: #776cb1
  • Title Font: Raleway
  • Title Font Weight: Ultra Bold
  • Title Text Color: #000
  • Title Text Size: 65px (desktop), 38px (tablet), 28px (phone)
  • Title Line Height: 1.2em
  • Title Text Shadow: see screenshot
  • Title Text Shadow Color: transparent

divi slider with soft box shadow

Body Text Design

  • Body Font Weight: Bold
  • Body Text color: #666
  • Body Text Size: 18px (desktop), 16px (tablet), 14px (phone)
  • Body Line Height: 1.8em
  • Body Shadow: See screenshot
  • Body Text Shadow: transparent

divi slider with soft box shadow

Button Design

Next, update the button design as follows:

  • Button Text Size: 20px (desktop), 18px (tablet), 16px (phone)
  • Button Text Color: #776cb1
  • Button Background Gradient Left Color: #776cb1
  • Button Background Gradient Right Color: rgba(255,255,255,0.7)
  • Gradient Direction: 90deg
  • Start Position: 7%
  • End Position: 0%
  • Button Border width: 0px
  • Button Border Radius: 0px
  • Button Letter Spacing: 3px
  • Button Font Weight: Bold
  • Button Font Style: TT
  • Button Margin: 10%
  • Button Padding: 1em (top and bottom)
  • Button Box Shadow: see screenshot
  • Shadow Color: rgba(0,0,0,0.11)

divi slider with soft box shadow

Padding and Border

  • Padding (desktop and tablet): 8vh top, 8vh bottom, 5% left, 5% right
  • Padding (Phone): 8% top, 8% bottom, 5% left, 5% right
  • Border Width: 15px
  • Border Color: #fff

divi slider with soft box shadow

Box Shadow

Now it is time to add a soft box-shadow to our slider. This will give it a subtle depth to the design.

  • Box Shadow: see screenshot
  • Box Shadow Vertical Position: 0px
  • Box Shadow Horizontal Position: 78px
  • Box Shadow Spread Strength: -20px
  • Shadow Color: rgba(0,0,0,0.5)

divi slider with soft box shadow

Final Result

Now let’s check out that final result.

divi slider with soft box shadow

Final Thoughts

Well, that’s it! Now you know how to create an elegant slider with a soft box-shadow. Hope you can make some great use of this tutorial, and feel free to post your uses of it in the comments!

I look forward to hearing from you in the comments.

Cheers!

Divi Marketplace

Are You A Divi User? Find Out How To Get More From Divi! 👇

Browse hundreds of modules and thousands of layouts.

Visit Marketplace
Divi Marketplace
Divi Cloud

Find Out How To Improve Your Divi Workflow 👇

Learn about the new way to manage your Divi assets.

Get Divi Cloud
Divi Cloud
Divi Hosting

Want To Speed Up Your Divi Website? Find Out How 👇

Get fast WordPress hosting optimized for Divi.

Speed Up Divi
Divi Hosting
Premade Layouts

Check Out These Related Posts

New Starter Site for Estheticians (Quick Install)

New Starter Site for Estheticians (Quick Install)

Posted on November 12, 2024 in Divi Resources

Divi empowers you to build the best websites possible, and now, Divi Quick Sites takes website creation to a whole new level. This revolutionary tool lets anyone, regardless of skill level, generate a complete website in under two minutes! Divi Quick Sites provides everything you need to launch...

View Full Post
Divi 5 Update: Public Alpha Version 3

Divi 5 Update: Public Alpha Version 3

Posted on November 11, 2024 in Divi Resources

The Divi 5 Public Alpha is available for testing. As we progress towards the final release, we’ll update Divi 5 every two weeks, appearing as a standard update in your WordPress dashboard. If you use Divi 5, you’ll notice an update notification for Public Alpha Version 3 today. Thanks...

View Full Post

4 Comments

  1. I actually like how you designed the button with the line to the left of it more than the soft box-shadow, LOL. I will have to use this on one of my sites. Thanks for posting

  2. Outstanding Jason !

    Thank you for giving me the tools and confidence to create a better user experience for my audience.

    Cheers, Dujon

    PS… I genuinely look forward to receiving these tutorials and fresh ideas in my inbox.

    • Thanks, dujon! Glad to hear this will help you.

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Join To Download Today