How to Add Scroll Effect in WordPress

How to Add Scroll Effect in WordPress

Last modified: August 12, 2026

FAQ
Fiverr freelancers

Scroll animations make WordPress pages more engaging by revealing elements as visitors scroll down. You do not need to be a developer to add them. Whether you use a dedicated plugin, your theme’s built-in settings, Elementor’s Motion Effects, or a CSS-plus-JavaScript snippet, there is an approach for every setup and every skill level. This guide covers all four methods so you can pick the right fit for your site.

Show More

* This button will show the rest of the post and open up an offer from a vendor

Why Add Scroll Effect in WordPress

Scroll effects serve two practical purposes: they hold attention longer, and they reduce the cognitive load of landing on a page packed with content all at once. When elements fade or slide in as the user scrolls, the experience feels intentional rather than overwhelming.

There is also a performance benefit. Single-page scroll layouts can load all assets at once and let the user read without additional page requests. This matters for mobile visitors, who account for more than 60% of web traffic. Fewer page transitions means less waiting on a slow connection.

For business sites, scroll animations can also improve conversion rates. A call-to-action button that slides into view as the user reaches the bottom of a section tends to feel less intrusive than one visible from the start. The motion draws the eye at the right moment, rather than competing for attention.

That said, scroll effects should be subtle. Heavy animations that slow page load or cause motion sickness are a net negative. The goal is to add polish, not distraction. Stick to fade-ins and gentle slides rather than complex sequences, and always test on a real mobile device before publishing.

Websites that benefit most are landing pages, portfolio sites, and product pages where storytelling matters. For a text-heavy blog, scroll animations add little and may reduce perceived speed. Think about your audience before committing to them.

How to Add Scroll Effect in WordPress

There are four practical ways to add scroll effects to a WordPress site. The right choice depends on your page builder setup, how much control you want, and whether you prefer to avoid extra plugins.

Method 1: Use a Scroll Animation Plugin

The simplest approach is a free plugin from the WordPress repository. Several reliable options work with both the Block Editor (Gutenberg) and Classic Editor:

  • Animate It! adds CSS animation classes to any block with a sidebar control panel. Free, lightweight, no configuration required.
  • WP Animations (AOS) integrates the popular AOS (Animate On Scroll) library with a settings panel so you do not need to write any code.
  • Scroll Animation a minimal plugin that adds fade, slide, and zoom effects to blocks without adding JavaScript overhead.

To use a plugin like Animate It!:

  1. Go to Plugins > Add New and search for the plugin name.
  2. Install and activate it.
  3. Edit any page or post and select the block you want to animate.
  4. Find the plugin settings in the block sidebar. Choose an animation type (fade-in, slide-up, zoom-in) and optionally set a delay for staggered effects.
  5. Preview on a real mobile device before publishing to confirm the animation feels smooth on smaller screens.

Method 2: Use Your Theme’s Built-In Animation Settings

Many premium WordPress themes include scroll animations without any extra plugin. Before installing anything, go to Appearance > Customize and look for “animations” or “scroll effects” in the panel list. Themes like Soledad include parallax and fade-in options built directly into the Customizer. This avoids plugin overhead entirely and is the best option for performance-focused sites.

If your theme does not have this option, it likely does not support scroll animations natively move to one of the other methods below.

Method 3: Elementor Motion Effects (Elementor Users)

If you build pages with Elementor, you do not need a plugin at all. Elementor has built-in animation controls under the Advanced tab of every widget, section, and column.

  1. Open any page in the Elementor editor.
  2. Click the widget, column, or section you want to animate.
  3. In the left settings panel, click the Advanced tab.
  4. Expand Motion Effects. Under “Entrance Animation,” choose from fade-in, slide-up, zoom-in, bounce, and more.
  5. Set the animation duration and delay. A duration of 0.6 to 0.8 seconds and no delay works well for most elements. For multiple items in a row, add a small delay increment (0.1 to 0.2 seconds per item) to create a staggered reveal.
  6. Click Preview at the bottom of the panel to confirm the effect before saving.

Entrance animations are available in free Elementor. Scroll-based timeline animations (where an element moves continuously as you scroll) require Elementor Pro.

Method 4: CSS + JavaScript (Lightweight, No Plugin)

For a fully custom fade-in effect that adds minimal page weight, combine a small CSS snippet with a JavaScript snippet using the Intersection Observer API.

Step 1: Add the CSS. Go to Appearance > Customize > Additional CSS and paste:

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

Step 2: Add the JavaScript. Add the following via your theme’s script registration or a custom plugin:

document.addEventListener('DOMContentLoaded', function () {
  var observer = new IntersectionObserver(function (entries) {
    entries.forEach(function (entry) {
      if (entry.isIntersecting) {
        entry.target.classList.add('visible');
        observer.unobserve(entry.target);
      }
    });
  }, { threshold: 0.1 });

  document.querySelectorAll('.fade-in-on-scroll').forEach(function (el) {
    observer.observe(el);
  });
});

Step 3: Apply the class. In the WordPress Block Editor, click any block, go to Advanced > Additional CSS Class(es), and type fade-in-on-scroll. The element will now fade in when it enters the viewport. This approach adds zero plugin overhead and works in every modern browser.

For guidance on safely adding JavaScript to WordPress, see our walkthrough on useful functions.php snippets.

Final Word: How to Add Scroll Effect in WordPress

Adding a scroll effect in WordPress comes down to four options depending on your setup. A free plugin like Animate It! is the quickest path for block editor users. If you build with Elementor, the built-in Motion Effects in the Advanced tab do the job without any extra plugin, and entrance animations are available in the free version. Theme-based animations are the cleanest option for performance-conscious sites, and the CSS-plus-JavaScript approach gives you full control without any plugin overhead.

Whatever method you choose, test on a real mobile device before going live. Scroll animations that look smooth on a desktop can feel slow or abrupt on a phone if the transitions are too heavy. Stick to 0.6 to 0.8 second fade-ins and keep effects simple. Most parallax WordPress themes already include these effects out of the box, so if you are shopping for a new theme, that is worth factoring in.

Recap:
Save 4 Later
Email liked links to yourself

    Stay Updated with WordPress Insights

    Get the latest WordPress tips, theme reviews, and industry deals delivered to your inbox.