# How to add animated backgrounds and 3D to your WordPress website

URL: https://yolo-plugin.com/learn/animated-backgrounds-for-wordpress/
Updated: 2026-11-21

> A moving background or 3D scene can lift a WordPress page, if it stays fast, readable and still for visitors who want less motion. Here is what to check, and…

# How to add animated backgrounds and 3D to your WordPress website

A moving background or 3D scene can lift a WordPress page, if it stays fast, readable and still for visitors who want less motion. Here is what to check, and a free way to do it.

 6 min read · By the YOLO team
![A dark course website with the YOLO Scenes Hive scene behind its hero: teal hexagon tiles with two story pins](https://yolo-plugin.com/wp-content/uploads/2026/11/yolo-lp-scenes-hive.webp)

To add an animated background to a WordPress website, put a lightweight canvas or shader behind one section, use your brand colours, and make sure it stops for people who don’t want motion. The hard part isn’t the animation. It’s keeping the page fast, the text readable and the site kind to visitors on phones or with motion sensitivity.

This guide covers what to check before you add any moving background or 3D scene, the usual ways to do it on WordPress, and how YOLO Scenes, a free extension for YOLO for WordPress, does it with 16 calm presets in your own colours.

## What makes a good animated background

A moving background should support your words, not compete with them. The ones that work share a few habits:

- **One, near the top.**  A single scene in the hero reads as polish. A different animation in every section reads as noise.
- **Slow and quiet.**  Gentle drifts and soft colour fields feel premium. Fast, busy motion behind long copy makes people stop reading.
- **Your colours.**  A background in your own palette looks designed. One in somebody else’s palette looks like a template.
- **Readable text.**  Text on top still needs a contrast of at least 4.5:1, which often means a soft scrim between the scene and the words.

## Keep it fast: weight, LCP and layout shift

Most of the cost of an animated background is what the visitor downloads and what their device has to draw. Watch three things:

1. **Download size.**  A full-screen video can weigh several megabytes. A shader that draws a gradient or noise needs a few kilobytes. A 3D library such as three.js is around a hundred kilobytes compressed, so load it only on pages that use it, and only when the scene is about to be seen.
2. **Largest Contentful Paint.**  Your heading or hero image should stay the biggest thing that paints. If the background loads first or blocks the main thread, your LCP gets worse. Start the animation after the page has loaded.
3. **[Cumulative Layout Shift](https://web.dev/articles/cls) .**  The section should have its final size and a background colour from the first paint, so nothing jumps when the canvas appears.

A scene should also stop drawing when it’s off screen or the browser tab is hidden. Otherwise it keeps a laptop fan spinning for nothing.

## Respect visitors who don’t want motion

Some people get dizzy or nauseous from movement on screen, and many set their device to reduce motion. Browsers pass that on through the  [prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion)  setting, so a well-behaved background shows a still picture instead.

The accessibility guidelines ask for more. Anything that moves for more than five seconds alongside other content needs a way to  [pause, stop or hide](https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html)  it, and nothing should flash more than three times a second. Phones deserve thought too: a still frame there saves battery and data, and the scene still sets the mood.

**Tip:**  before you publish, switch on “reduce motion” in your own device’s settings and load the page. If anything still moves, or the page looks broken without the animation, fix that first.

## Your options on WordPress

There are four common routes, each with trade-offs:

- **A background video.**  Easy to add in most page builders, but heavy, it can’t use your live colours, and it needs its own pause control.
- **Page builder motion effects.**  Builders such as Elementor include scrolling and mouse effects, and add-on packs add particles and gradients. Check what each one loads on every page, not only where you use it.
- **A design tool embed.**  Tools such as Spline and Unicorn Studio let you design almost any 3D or WebGL scene and embed it. Their free plans add the tool’s branding, and the scene lives in their editor rather than with your site’s colours.
- **Hand-written three.js.**  Full control and no fees, but you write and maintain the loading, the pause button, the reduced-motion still and the phone fallbacks yourself.

## How YOLO Scenes does it

[YOLO Scenes](https://yolo-plugin.com/extensions/scenes/)  adds moving backgrounds and 3D scenes to any section of your site. It has 16 presets in four groups:

- **Light backgrounds:**  mesh gradient, aurora, grain and noise, contours, a dot grid that ripples under the pointer, liquid blobs and a starfield.
- **3D scenes:**  a particle field that can morph as you scroll, a hive of hexagon tiles with short story labels, a turning dot globe and floating glass or matte shapes.
- **Scroll and pointer:**  your own photo rippling under the pointer, your heading gathering out of particles, your logo built from 3D blocks, and a fly-through with chapter labels.
- **A model viewer**  for your own products, covered below.

![The Hive scene behind a course website’s hero: teal hexagon tiles in slow waves, with two story labels reading “Backups: done” and “Sentinel: all clear”.](https://yolo-plugin.com/wp-content/uploads/2026/11/yolo-lp-scenes-hive.webp)
The Hive scene behind a course website’s hero: teal hexagon tiles in slow waves, with two story labels reading “Backups: done” and “Sentinel: all clear”.

Each scene takes your YOLO Design colours, so a rebrand or a switch to dark mode re-colours it by itself. You also choose how much it moves:  **Still**  draws one frame and nothing more,  **Ambient**  drifts slowly,  **Reactive**  stays still until the pointer moves over it or the page scrolls, and  **Lively**  runs at full speed. Calm is the default.

The checks from the sections above are built in. Phones get a still frame unless you choose otherwise, visitors who ask for less motion get a still frame, every moving scene has a pause button that pauses them all, and speeds are kept well under three flashes a second. A page without a scene loads nothing from Scenes at all. A light scene adds about 8 KB after the page has loaded, and the 3D engine, a trimmed copy of three.js, loads only when a 3D scene is near view. In our lab run on three test pages, the page’s own heading stayed the largest paint and layout shift didn’t change.

## Add a scene in a few clicks

1. Install YOLO Scenes from the Library on a site connected to  [YOLO Cloud](https://yolo-plugin.com/cloud/) .
2. Open any page while signed in and press  **✦ Scenes** .
3. Click  **Pick a section** , then the section you want.
4. Choose a preset, or type what you want, such as “slow teal aurora, calm”, and press  **Suggest** .
5. Adjust the placement, mood, colours and speed. Every change shows on the real page.
6. Look at  **Check before saving** : the weight it adds, how smoothly it runs on your device and whether your text is still easy to read. If the text is hard to read, press  **Add scrim** . Then save.

![The Scenes panel open on a live page: a saved aurora scene, placement Behind, Inside or Hero, moods, and colour swatches for each band.](https://yolo-plugin.com/wp-content/uploads/2026/11/yolo-lp-scenes-editor.webp)
The Scenes panel open on a live page: a saved aurora scene, placement Behind, Inside or Hero, moods, and colour swatches for each band.

Prefer to write your own HTML? Add `data-yolo-scene="aurora"` to a section, or use the shortcode or the Scene block. At most three scenes run on one page, and only one 3D scene can sit in the hero.

## Show your products in 3D

The model viewer shows your own 3D model, a GLB file of up to 8 MB. Visitors turn it by dragging or with the arrow keys, zoom with + and -, and can read up to six labelled hotspots. It is real content with a name for screen readers, not decoration. On Android a “View in your room” link opens the model in augmented reality, and on iPhone too once you attach a USDZ file. WooCommerce products with a model get a 3D tab. Compress models with Meshopt; Draco-compressed files aren’t accepted yet, and animations inside a model don’t play.

## Let your AI set it up

If you run your site with an AI assistant through YOLO, ask it for a scene in plain words. The Scenes guide tells it to pick one calm scene, check the text stays readable and send you a preview link before it saves anything. For something no preset does, your AI can write its own three.js or shader scene. Custom code is off until an administrator allows it, it runs in a locked-down sandbox with no access to your page, your visitors or the internet, and every change your AI makes needs your approval, the same way  [YOLO’s other safety checks](https://yolo-plugin.com/safety/)  work.

Scenes joins up with the rest of your site too. YOLO Directories listings and YOLO Events venues can appear on the globe, and a short burst of confetti can celebrate a sent  [YOLO Forms](https://yolo-plugin.com/extensions/forms/)  form, a paid  [YOLO Shop](https://yolo-plugin.com/extensions/shop/)  order or a finished course.

## The short version

Use one calm scene near the top, in your own colours, and keep the text readable. Load nothing on pages without a scene, start after the page has loaded, and give visitors a still frame and a pause button. YOLO Scenes does all of that for you on your own WordPress site, with 16 presets, a 3D model viewer and an AI that asks before it saves.

Add YOLO Scenes from the Library

YOLO Scenes and every other Library extension are free for YOLO Cloud customers. Install them in one click and add your first scene in a few minutes. Cloud is free to start.

[Create a free Cloud account](https://yolo-plugin.cloud/login?mode=signup)

## Questions about this

 How do I add an animated background in WordPress?+

Put a light canvas or shader behind one section, in your brand colours, and give it a still frame for reduced motion and a pause button. With YOLO Scenes you pick the section on the page, choose a preset and save.

Do animated backgrounds slow down WordPress?+

They can. Videos and 3D libraries are heavy if every page loads them. Load the scene only where it is used, start it after the page has loaded, and stop drawing when it is off screen.

Can I use three.js in WordPress?+

Yes. You can enqueue it yourself, or use YOLO Scenes, which hosts a trimmed copy of three.js on your own site and loads it only on pages with a 3D scene.

Can I show a product in 3D on WordPress?+

Yes, with a GLB model and a viewer. YOLO Scenes' model viewer lets visitors turn the model, read hotspots and, on phones, open it in augmented reality.

## Keep reading

[All guides →](https://yolo-plugin.com/learn/)

  [### How to add pop-ups and banners to your WordPress website (that people don't hate)

Pick the quietest format that works, show it at the right moment, cap how often it appears, and only count down to a real deadline. Here is how, plus a free way to do it in WordPress.

How-to guides · 8 min read](https://yolo-plugin.com/learn/pop-ups-and-banners-for-your-wordpress-website/)  [### How to make an explainer video for your website (without Vyond)

Write a short script, split it into scenes, add a calm voice, captions and your brand colours, and make a wide and a tall copy. Here is how, and a free way to do it on your own WordPress site.

How-to guides · 8 min read](https://yolo-plugin.com/learn/make-an-explainer-video-for-your-website/)  [### How to edit an Elementor page without opening Elementor

Change words, pictures and links on an Elementor page right on the page, and leave design to Elementor. What is safe to change that way, what to lock, and a free way to do it on WordPress.

How-to guides · 5 min read](https://yolo-plugin.com/learn/edit-elementor-page-without-elementor/)

Give your AI the keys.

The plugin is free and runs on your own server. YOLO Cloud is free to start.

  [Get started free](https://yolo-plugin.com/get-started/)  [Create a Cloud account](https://yolo-plugin.cloud/)