Using Box Shadow Options in Divi | Scoreapps

Using Box Shadow Options in Divi

Box shadow options in Divi allow you to give any item on the page the illusion of depth.


Projected shadows are a creative way to bring your website design elements to life. They can highlight elements and even give a great 3D effect.

In this guide, we will explore all the box shadow options available in Divi, how to use them, and the best tips and practices.


Using Divi Box Shadow Options

How Box Shadows Work

Box shadows apply vertical and horizontal shadows to design elements. You can add box shadows to sections, rows, columns, and modules.
How Box Shadows Work

Box shadows are a unique design property that does not take up real space on the page (or HTML DOM).

When you add a box shade to an element in Divi, the shadow is applied around the element as an edge.

However, unlike an edge, shadow is not part of the CSS box model, which controls the total size of an element (high and wide) including its content, filling and edge. In short, this means that adding a box shadow will not affect the size or space of the item on your page.

How Box Shadows Work

In the picture above, see how the rim occupies real space in the DOM. Reduces the space available for internal content. However, on the right, the box shadow does not affect the size of the module and will be displayed without moving other elements around it.

Where to Find Box Shadow Settings

Box shadow settings are always in the Design tab of any section, row, column, or module you are working on. Navigate to the Box Shadow Settings group and click to expand the options.
Where To Find Box Shadow Settings

Box Shadow Styles Built-in Divi

Divi makes it easy to add box shadows to your design elements because it includes 7 built-in shade styles that you can apply to any item with a single click.
Divi's Built-In Box Shadow Styles

Customizing the Box Shadow

These built-in box shadow styles are an excellent starting point; however, with Divi, it's easy to customize any box shade to fit your vision. Let's look at the custom box shadow options.
Customizing the Box Shadow

Horizontal Position of Box Shadow

Defines the horizontal distance of shadow from the element.
  • A positive value places the shadow to the right of the element.

  • A negative value places the shadow to the left of the element.

Drag the slider or enter a numerical value into the field to adjust this setting.

Box Shadow Horizontal Position

Vertical Box Shadow Position

Defines the vertical distance of shadow from the element.
  • A positive value places the shadow underneath the element.

  • A negative value places the shadow on top of the element.

Drag the slider or enter a numerical value into the field to adjust this setting.


Box Shadow Vertical Position


Box Shadow Blur Force

This defines the intensity of the blur.
  • The greater the value, the greater the blur, which makes the shadow wider and clearer.

  • The lower the value, the shadow will be darker and narrower.

Drag the slider or enter a numeric value into the field to adjust this setting.

Box Shadow Blur Strength

Box Shadow Expansion Force

This defines the density of the box shadow.
  • The higher the value, the higher the density of the shadow, resulting in a more intense shadow.

Drag the slider or enter a numeric value into the field to adjust this setting.

Box Shadow Spread Strength

Color of Shadow

You can also adjust the color of the shadow. You can choose between:
  • Saved color palette

  • Global colors

  • Recent colors

  • Or use the dropper icon to select a new color.

By clicking on the dropper, you can enter a hexadecimal value for the color code or drag the dropper to find a new color. We recommend establishing a low opacity for your colors to create that soft box shadow effect.

Shadow Color

Box Shadow Position

There are two options for box shadow position:
  • Outer: Place the shadow out of the element.

  • Inside: Place the shadow inside the element.

Box Shadow Position


Box Shadow Length Units

When adjusting the box shadow values, the pixels will be the default unit. However, you can use other CSS drives by manually entering them in the field of each property. Allowed units include:

  • px (pixels)

  • vw (relative to the width of the browser window)

  • vh (relative to browser window height)

  • em (relative to the font size of the item)


Box Shadow Length Units

Some units are NOT allowed. These include:
  • %

  • vmin

  • vmax


Box Shadow with Rounded Corners

If a design element has rounded corners, the box shade will adopt the same rounded corners.
Box Shadow with Rounded Corners

Tips and Good Practices for Box Shadow

  • Use box shadows with edges
    Applying a box edge and shadow to an element creates two creative layers to frame the content.

Use Box Shadows with Borders

  • Dimensional effect
    Use the box shadow to create 3D depth in your design elements. Increase blur and expansion to give the illusion that the object is closer to the viewer, and reduce them to make it look further.

Dimensional Effect

  • Ensures visibility of shadows with horizontal and vertical overflow
    In some cases, you may not see the outer shadow of an element. If this happens, in Advanced → Visibility, make sure that horizontal and vertical overflow is set as visible when using an outer shadow; otherwise, it will be hidden.

Ensure Visibility of Box Shadows with Horizontal and Vertical Overflow

  • Use low opacity colors to illustrate depth
    Use a color with subtle opacity to show depth in the shade. You can lower the opacity of any shade color using the built-in color management system.

Use Low Opacity Colors for Box Shadows to Illustrate Depth

  • Frame content without taking up space

  • In web design, one technique for organizing content is to use edges around the elements. But it is important to remember that the edges take up pixel space, and by reducing the size of the browser window, the edge can limit the width of the container content.
Frame Content Without Taking Up Space
  • Box shadows do not take up room on the page, so they do not affect the resizing of content when the window gets smaller. To see how the content changes with a large edge and how it stays the same with a box shadow, watch the attached video.

  • Frame content creatively
    You can use box shadows creatively to highlight important content and make the elements stand out. See examples for inspiration.

Stone Factory Layout Pack
Examples of Design Packages:
  • Stone Factory Design Package
    Hostel Layout Pack

  • Hostel design package

    Interior Design Layout Pack

  • Interior Design Design Package


Continue Learning

  • How to add box shadows on one side to design elements in Divi

  • How to create "floating" objects in Divi using projected shadow

  • How to use box shadows as sliding backgrounds when hovering the cursor

  • How to combine picture background and box shadow options with Divi



    • Popular Articles

    • How to Create an App for Restaurants (with or without Delivery)

      Text Enter First Steps Once inside the platform, from the main dashboard you will find a series of icons on the left hand side menu. Just click on 'Apps'. Then click on 'Create App' and give it a name. Then you'll get to a screen where you choose the ...
    • APPS: Radio

      The function of Radio allows the addition of radio broadcast within its application. In addition to this function To add this function to your application go to step "Functions" and click on the icon "Radio": Once added you must name this new ...
    • APPS: Webhooks

      The advanced Webhooks feature lets you connect certain events that occur in your App by sending them to a URL called Webhook. You can use a free Webhooks service as Zapier to create automations that can help you with your App business. For example, ...
    • APPS: Audio & Music

      How to add this feature To add this feature to your application go to step "FUNCTIONS" and click on the " iconAudio": Then give this new section of the application a name. Then click on the + icon to add a new Playlist Then add a title and an image ...
    • QR Promotions

      This function would allow you to create discount coupons that would be unlocked by scanning a specific QR code. Once unlocked, the customer can use the discount whenever they want. The coupon would not appear in the application until the user has ...
    • Related Articles

    • Divi Rows and Row Options

      Therowsare thesecond largest construction blockwithin the Divi builder and can be used in various ways. &;amp;;;;; Rows of Divi and how to use them Therowsare thesecond largest construction blockwithin the Divi builder and can be used ...
    • Using Divi Transform Options

      Divi transformation options are a set of powerful tools that allow you to manipulate web design in surprising ways, creating depth and attractive visual effects. Divi transformation options allow you to move elements, scale them, rotate them into ...
    • Using Border Options in Divi

      Divi border options allow you to easily add and stylize edges on any item on the page. With Divi Edge Options, it is possible to create truly unique designs for your website. You can apply custom edges to Divi elements, including sections, rows, and ...
    • Using Sizing Options in Divi

      Divi Size Options make it easy to adjust the size of sections, rows, columns and modules in Divi. Divi Size Options make adjusting the size of sections, rows, columns and modules simple. Size is an essential part of creating attractive websites. ...
    • Using Spacing Options in Divi

      It is easy to customize spacing into sections, rows and modules with Divi Spacing Options. Spacing is an important element in web design. It helps organize your content and keep things clear and balanced. With Divi, it is easy to customize spacing in ...