Add a Snowy Background in Divi

Written by Dan Mossop

Here's how to add a static tiled snow effect as the background to any Divi section, row or module. Like this:

In the bleak midwinter, frosty wind made moan,
Earth stood hard as iron, water like a stone;
Snow had fallen, snow on snow, snow on snow,
In the bleak midwinter, long ago.

To achieve this, first add the following CSS code to your site:

.snowflake-background {
    background-image: 
        radial-gradient(circle, #e6e6e6 1px, transparent 1px),
        radial-gradient(circle, #e6e6e6 2px, transparent 2px),
        radial-gradient(circle, #dddddd 4px, transparent 4px),
        radial-gradient(circle, #dddddd 6px, transparent 6px),
        radial-gradient(circle, #cccccc 8px, transparent 8px),
        radial-gradient(circle, #cccccc 10px, transparent 10px),
        radial-gradient(circle, #bbbbbb 14px, transparent 14px);
    background-size: 
        91px 91px,
        107px 87px,
        69px 109px,
        88px 72px,
        111px 123px,
        134px 97px,
        157px 145px;
    background-position:
        0 0,
        93px 17px,
        37px 93px,
        86px 68px,
        51px 59px,
        129px 116px,
        105px 34px;
    background-repeat: repeat;
}

Now, on any section, row or module that you want to add falling snow to, just give it a CSS Class of "snowflake-background", like so:

We may earn a commission when you visit links on our website.

Deck Your Divi Site with Holiday Cheer!

Transform your website into a winter wonderland with Divi Christmas Effects. Easily add 7 festive background effects like Falling Snow and Christmas Lights directly into your Divi Builder. No coding needed; just pure holiday magic.

Latest Posts

Style the Divi Gallery Lightbox Close Button

Give your gallery lightbox a clear, on-brand close button by customizing its color and size. This improves visibility and usability against varying image backgrounds and ensures the button renders at full opacity for a consistent experience. In this guide we show you...

Add a Visible Shadow to Divi Gallery Lightbox Arrows

Give the lightbox navigation arrows in your Divi galleries a stylish pop and improve their visibility by adding a shadow beneath the arrows. This quick guide will show you how to make your navigation arrows stand out against the lightbox overlay.Add a Visible Shadow...

Adjust Lightbox Arrow Size in Divi Gallery

Customize the size of the navigation arrows that appear in your gallery lightbox so they’re easier to see and aligned with your site’s design. Whether you want larger, more accessible controls or a subtler look, setting a precise arrow size creates a more polished...

Change Lightbox Arrow Color in the Divi Gallery Module

Make the lightbox navigation arrows in your Divi Gallery match your brand and stand out against your images by assigning a custom color. This improves visual consistency, enhances accessibility with better contrast, and elevates the overall browsing experience for...

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

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