All videos
Creating a sticky sidebar
This content is no longer maintained.
Webflow has evolved past what's covered here. Treat it as a reference, not a reliable how-to.
Trouble with this video? YouTube may be blocking it for you. Watch it directly on YouTube instead.

Creating a sticky sidebar

In this lesson, we'll use position: sticky to keep a sidebar fixed to the right side of the screen after the user hits a defined distance from the top of the viewport. We'll cover setting the sidebar's position to sticky and setting the top distance.

Read more: https://university.webflow.com/article/position-sticky