How to create raining effect to your Shopify store

Sell Online With Shopify
Trusted by millions of businesses worldwide
Sign up for a free trial and enjoy 3 months of Shopify for $1/month on select plans.

In this post I will show you how to create a raining effect using JavaScript to your Shopify store. We will also see how it works.

DEMO

Follow below mentioned steps to make raining effect on your Shopify store.

Log in to your Shopify store. From your Shopify admin, go to Online Store > Themes. Click Actions > Edit code.

Step 1: Create a new Javascript file – rain-effect.js

In the Assets directory, click Add a new asset. In popup appear: Go to Create a blank file tab, give your asset the name rain-effect, choose .js and click Add asset.

In the online code editor, paste the content from the below text.

Step 2: Embed the new Javascript file into theme

In the Layouts folder, locate and click on your theme.liquid file to open it in the online code editor. In the online code editor, scroll down a bit until you see the closing tag. Right before the closing tag, paste the code.

Note: You must also load jQuery before loading this script.

DEMO

Looking for Shopify Experts?

Hura Apps can help you take your store to the next level

Our team of experienced designers and developers can help you create a beautiful, high-converting Shopify store that will drive sales and increase customer satisfaction. From custom design to app development and optimization, we have the skills and expertise to help you achieve your eCommerce goals.

Get in touch

You may also like...

Leave a Reply

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