Magic Classes and Scroll Animations

Updated

What it helps you do

Add spacing, layout tweaks, entrance effects, and scroll animations by typing a class name on a block. No custom CSS needed. Scroll animation classes make sections fade or slide in as visitors move down the page.

Where to find it

How to use it

  1. Select the block you want to style.
  2. In the sidebar, expand Advanced and find Additional CSS class(es).
  3. Type one or more Magic Class names separated by spaces (for example, scroll-animate-from-bottom or mt-2 mb-4).
  4. Preview the page on the front end — scroll animations fire when the element enters the viewport.

Scroll animations (popular choices)

Class Effect
scroll-animate-pop-in Small rise with a springy scale — good default for cards
scroll-animate-from-bottom Slide up — general sections
scroll-animate-fade Opacity only — subtle reveal
scroll-animate-children Stagger animation across direct children (great for grids)

Combine with duration classes such as animate-2s or animate-5s when you want slower motion.

What happens automatically

  • Load animation classes (such as fade-in) run when the page loads if Load Animations is on.
  • Scroll classes run when the element scrolls into view if Scroll Animations is on.
  • With Scroll Animations on, some blocks animate without any class. Grid cards, Step by Step steps, and Quote Group quotes pop in one after another.
  • Scroll animations stay off for visitors who have asked their device to reduce motion, and when printing, tabbing through with a keyboard, or being read by search engines.
  • The Magic Classes reference page always lists the classes the current theme version includes.

Things to know

  • Scroll animation classes do nothing until Scroll Animations is enabled in the Customizer.
  • Too many animated blocks on one page can feel busy — start with section wrappers, not every paragraph.
  • scroll-animate-children applies to direct children only; add a 3-per-row (or similar) class on the parent when you want the stagger to reset each grid row.
  • Magic Classes are for layout and motion utilities — they do not replace block sidebar settings for colors, links, or typography.
  • Class names are exact — copy them from CSS Utility Classes or Dashboard → Magic Classes to avoid typos.

Related settings and guides