Published on November 27, 2022

Tutorial: Creating A Sticky Timeline Element In WordPress With Oxygen

In this WordPress tutorial, we’re creating a sticky timeline effect using Oxygen.

We’ll start by creating several classes specific to the timeline, that we’ll use to design our timeline cards and other various timeline parts. Within each of these classes we’ll use several CSS properties, such as pseudo-classes, gap, negative-margin, and z-index to make our timeline have some great visuals.

After this, we’ll create our sticky timeline element. This element will follow us down the page as we scroll through the timeline.

Next, we’ll use the built-in Animate on Scroll library to create animations that slide the timeline cards in as a user scrolls down the page.

We’ll finish by making our design responsive and ready for mobile viewers.

Video Table of Contents:

  • Introduction: 0:00
  • Designing the Timeline elements: 0:24
  • Creating the Timeline: 10:50
  • Adding the Sticky element: 13:28
  • Animating the Timeline: 17:15
  • Making the Timeline mobile-friendly: 18:39

Resources: 

The Oxygen Team
Updated on: November 27, 2022

You'll build incredible websites with Oxygen

Get started with Oxygen today and unlock incredible value.

Get Oxygen

30-day money back gurantee

Try Oxygen risk-free. If you’re not satisfied, get a full refund within 30 days.

Unlimited site license

Use Oxygen on as many personal or client projects as you want — no limits.

Fast, world-class support

Our experienced team is eager to assist you with technical questions.

Use on client websites

Build and deliver professional-grade websites for your clients with no extra fees.