Latest SeedProd News

WordPress Tutorials, Tips, and Resources to Help Grow Your Business

WordPress particle background tutorial

How to Create Animated Particle.js Backgrounds in WordPress 

Written By: author avatar Stacey Corrin
author avatar Stacey Corrin
Stacey has been writing about WordPress and digital marketing for over 10 years and on other topics for much longer. Alongside this, she's fascinated with web design, user experience, and SEO.
     Reviewed By: reviewer avatar Turner John
reviewer avatar Turner John
John Turner is the co-founder of SeedProd. He has over 20+ years of business and development experience and his plugins have been downloaded over 25 million times.

Do you want to add a particle background to your WordPress website?

Animated particle.js effects can make your site feel more interactive and help important content stand out. In this guide, I’ll show you step-by-step how to add particle backgrounds in WordPress using a plugin or page builder, no coding required.

You’ll also see how to customize the particles for your own style and keep your site fast and mobile-friendly.

Quick steps to add particle backgrounds to WordPress:

What Is a Particle Background?

A particle background is an animated set of moving elements (particles) that display behind your website content. These particles can move, change color, and react to user interactions.

Most particle backgrounds are powered by particle.js, a lightweight JavaScript library. It lets you customize the particle shapes, colors, sizes, and movement without affecting your main content.

Here’s an example of a particle background in action:

Example of animated particle background using particle.js on WordPress site
Example of animated particle background powered by particlejs

Why Use Particle Backgrounds in WordPress?

Particle backgrounds can add a dynamic, interactive feel to your site. They help draw attention to key sections and keep visitors engaged longer.

  • Highlight important content: Use a subtle particle background behind hero sections or calls-to-action.
  • Show off creativity: Perfect for portfolios, creative agencies, or design-forward websites.
  • Improve perceived load times: You can even use particle.js effects as loading animations while heavy media loads in the background.

Here’s an example: a design portfolio site could add a soft particle animation to its header to showcase creativity without distracting from the work on display.

How to Add Particle.js Backgrounds to My WordPress Site?

There are several ways to add particle backgrounds to your WordPress site, even if you’re a beginner.

First, you can use a WordPress Particle.js plugin or WordPress page builder with built-in particle effect features. We recommend this option for beginners because it typically requires zero coding knowledge or tech skills.

Another way to add particle effects to your site is using a WordPress theme that includes particle.js. This is handy if you’re starting a new site and still need a WordPress theme.

The final option is using custom code to add particle effects to your website manually. We only recommend this option if you’re comfortable with coding.

In this guide, we’ll stick with the easiest option: using a WordPress plugin. Let’s get to it!

Add a Particle Background to WordPress Sections Using SeedProd

First, we’ll use a WordPress page builder plugin with the particles.js library built into its functionality: SeedProd.

SeedProd WordPress page builder interface with particle background options

SeedProd is the best website and page builder for WordPress, with over 1 million users. You can use its drag-and-drop builder to create custom WordPress themes, landing pages, WooCommerce websites, and any other layout without writing code.

With hundreds of pre-made page templates, design elements, and built-in particle backgrounds, creating stunning particle animations takes only a few minutes.

Follow the steps below to add particle backgrounds to your site with SeedProd.

Step 1. Install and Activate SeedProd

First, click here to get started with SeedProd and download the plugin. Then install and activate the plugin on your WordPress website.

If you need help with this, you can see our documentation on installing SeedProd. It walks you through the installation process and finding and activating your plugin license key.

Step 2. Choose a Pre-made Template

Your next step is to choose a pre-made template. The type of template you select depends on whether you want to make a WordPress theme or a landing page.

With SeedProd’s Theme Builder, you can build a complete WordPress theme from scratch. However, choosing this option will overwrite your existing website design. 

Alternatively, the Landing Page Builder lets you create any page without touching your existing theme. For this guide, we’ll go with this option.

From your WordPress admin dashboard, navigate to SeedProd » Landing Pages. On this page, you’ll see various page modes at the top and the option to create your own custom page.

Adding a new landing page in SeedProd WordPress builder

Go ahead and click the Add New Landing Page button.

Here, you can choose from hundreds of pre-made landing page templates.

SeedProd landing page template library for WordPress with particle background support

You can filter them by type by clicking the tabs along the top, including:

To choose a template design, click the orange checkmark icon.

Choosing a SeedProd landing page template in WordPress

This will open a popup window where you can enter your landing page name. SeedProd automatically generates the landing page slug (URL) for you, but if you like, you can change this.

etting page name and URL for new landing page in SeedProd WordPress plugin

When you’re happy with those details, click the Save and Start Editing the Page button.

Navigating the Page Builder

Your template will now open in SeedProd’s drag-and-drop visual editor. You’ll see a left-hand panel with blocks, sections, and settings and a live preview on the right-hand side.

SeedProd drag-and-drop WordPress page builder editor

Clicking anywhere on the preview lets you view and customize that element’s settings and see the changes in real-time.

For example, clicking the main header section opens its settings in the left-hand panel. From there, you can choose a new background image, choose a different background-position, and dim the background with a color overlay.

Changing background image in SeedProd WordPress page builder

Additionally, you can add new elements to your template by dragging them from the left-hand blocks panel and dropping them into place.

Dragging new content blocks into SeedProd WordPress builder

Step 3. Enable and Customize Particle Backgrounds

As we mentioned earlier, SeedProd has particle.js built into the page builder settings. Currently, you can use this feature on any page section.

To do this, click on any section until you see a purple border, then select the Advanced tab.

Enabling particle background settings in SeedProd WordPress plugin

Now find the Particle Background heading, expand it, and switch the Enable Particle Background toggle to the on position.

Immediately, you’ll see a Polygon animation effect on the section background.

SeedProd particle background animation settings with polygon style selected

If you click the ‘Style’ dropdown menu, you can change the particles to either:

  • Space
  • Snow
  • Snowflakes
  • Christmas
  • Halloween
  • Custom
Choosing particle background styles like space, snow, and custom in SeedProd

After choosing a particle style, you can set the particle opacity, flow direction, and color.

If you want more control over the particle customization, enable the Advanced Settings toggle.

Here, you can increase the number of particles, change the particle size, and use the selector to adjust the particle movement speed.

Advanced particle background settings in SeedProd for density, size, and speed

Note: Increasing the number of particles can impact your page speed. It’s best to keep this setting as low as possible for the best performance.

In the same panel is an option to enable particle hover effects. If you enable it, the particles will scatter when you move over them with your cursor. However, you can only see this effect when previewing your page outside the page builder.

Adding Custom Particle Backgrounds

If you want to add custom particle effects, simply choose the Custom option from the Style dropdown menu. As you can see, the instructions indicate that you’ll need to add a custom JSON file.

Using custom particle background JSON settings in SeedProd WordPress builder

Luckily, the instructions include a link to vincentgarreau.com/particle.js, a JavaScript library that lets you set custom attributes for your particle background by pointing and clicking.

In the particle json config panel, you can choose custom shapes, densities, sizes, speeds, colors, and more. You can also set custom CSS for the background and enable movement effects.

Particle.js configuration panel for customizing background animations

When you’re happy with your particle settings, click the ‘Download current config’ heading. This will download the configuration file to your computer.

Downloading particle.js custom configuration JSON file for WordPress

Now open and copy the code from the file, and paste it into the empty box in your page builder.

Pasting custom particle.js configuration code into SeedProd particle background settings

Your custom particle background will appear instantly!

From there, continue customizing your landing page until it looks exactly how you want it. Remember to click Save to store your changes.

Step 4. Publish Your Changes

Once you’re happy with the customizations to your landing page, you’re ready to make it live.

To do this, click the Save dropdown arrow, and click Publish.

Publishing landing page with particle background enabled in SeedProd

Now you can visit your landing page to see your particle background in action.

Example of SeedProd landing page with animated particle background effect in WordPress

Use the Particle Background WP Plugin

Another way to add particle backgrounds to your WordPress site is to use the Particle Background WP plugin.

Pricing: Free
Free Plan / Trial: Yes
Standout Features:
🔹 Basic particle effects
🔹 Shortcode support
🔹 Simple settings
Rating: B
Best For: Users who want a free, lightweight option

This is a free WordPress particle.js plugin. However, its customization options aren’t as easy or extensive as SeedProd.

First, you’ll need to install and activate Particle Background WP on your WordPress website. Then, click the Particle Background menu item in your WordPress admin panel.

Particle Background WP plugin settings page in WordPress admin

In the first panel, you can show the particle background banner on your front and blog pages or with the shortcode. We’ve enabled the banner for our blog page.

Below that is a content area you can customize with the WYSIWYG editor. Here you can enter a heading for your banner, a description, and a call to action.

Editing particle background banner content in Particle Background WP plugin

The next panel includes particle customization options, including density, color, and background color. You can also enter custom CSS.

Customizing particle density, color, and background in Particle Background WP plugin

After saving your changes, you can visit your blog page and see the banner with a particle background in place.

Example of a banner with animated particle background using Particle Background WP plugin

You can also use the shortcode to add the same banner on any page or post. However, it’s important to note that your banner will sit over the content, not behind it, as on SeedProd.

More Ways to Add Particle.js to WordPress

If you’re still looking for other ways to add particle.js to your WordPress site, you may find the following tools helpful:

Ultimately, the easiest way to add Particle Backgrounds to WordPress is with SeedProd. It’s easy to use, requires zero coding, and has tons of customization options that take a few clicks to set up.

FAQs About WordPress Particle Backgrounds

Do I need coding experience to add a particle background to my WordPress site?

No, you do not need coding experience to add particle backgrounds to WordPress. SeedProd has a code-free interface to make adding the effect to your site easy without code.

Will adding a particle background slow down my website?

While particle.js backgrounds can be visually appealing, they require additional JavaScript and may slow down your website’s load time. It’s important to optimize your site to ensure it loads quickly and doesn’t negatively impact the user experience.

We suggest only using low-density particle backgrounds on the most important areas of your site.

Can I customize the particle background’s color and shape?

Yes! SeedProd allows you to customize the particle’s color, shape, density, and other parameters to create a unique and visually appealing effect on your website.

Are particle backgrounds mobile-friendly?

Yes, particle.js backgrounds can be mobile-friendly if optimized properly. However, testing your particle background on different devices and screen sizes is vital to ensure it doesn’t negatively impact the user experience. You can do this with SeedProd’s built-in mobile preview feature.

Can I add a particle background without a plugin?

Yes, you can manually add particle.js code to your WordPress theme, but it requires editing template files and may be harder to maintain.

There you have it!

We hope this guide has helped you learn how to create Particle Backgrounds in WordPress.

You might also like this guide on the best WordPress photo gallery plugins to compliment your new particle backgrounds. Or this guide on how to add snow effects in WordPress.

Thanks for reading! We’d love to hear your thoughts, so please feel free to leave a comment with any questions and feedback.

You can also follow us on YouTubeX (formerly Twitter), and Facebook for more helpful content to grow your business.

author avatar
Stacey Corrin Writer
Stacey has been writing about WordPress and digital marketing for over 10 years and on other topics for much longer. Alongside this, she's fascinated with web design, user experience, and SEO.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.