Pinned position.

Lock elements into place to keep them visible as users scroll through the page and the elements' parent containers by using Pinned position on Editor X.

Lock elements into place to keep them visible as users scroll through the page and the elements' parent containers by using Pinned position on Editor X.

Let’s explore how to use Pinned position on Editor X.


Pinned position lets you lock elements to the position of their parent containers. This means that, when an element is pinned, it will stay in place as you scroll through the content in its parent.

Let’s dive into how it works.


In this example, we’ve added two elements—a shop button and a new collection image—and both are set to the default position type. To pin an element, set the position type to Pinned from the dropdown, and select which parent you want to pin it to.


If we pin the shop button to the page it will stay visible as the user scrolls through the site’s sections. And, for example, if we want the element to appear in the bottom right corner, we can dock this element to the right and the bottom and add margins to distance the element from the page’s borders.


When we switch to preview mode, you can see that the shop button now stays in place as you scroll the page. You may be familiar with this Pin to page behavior as the CSS attribute “Fixed”.


Now let’s see what happens when we pin an element to its parent container. First, let’s return to edit mode. Here we have a layouter set up as a slider where the scroll is horizontal.


To get the behavior we want, we’ll click on the element and choose Pinned position again from the Inspector Panel. You can see we have a few options under the Pin to dropdown: pin to page which we just used, pin to section which would cause an element to stay in place until we reach the next section, and pin to layouter which, in this case, is our container. We’ll choose Pin to layouter. And, to set the distance between the pinned element and the layouter content, we can add margins.


Also, if we drag the element across the canvas, it will stay relative to its parent container and won’t attach to any other containers.


You can choose to place the element outside of the parent container but, for this example, we’ll keep the element inside the parent container we pinned it to.


If we click preview, we can see that the element is now locked in place.


It’s worth noting that, once pinned position is set up, it will automatically be applied to all breakpoints.


Changes to your pinned position settings will also affect other breakpoints, including removing or changing the element’s parent. As an example, notice how changing the element’s position type back to default on mobile also affects its position on desktop.


If you don’t want an element to be pinned at a lower breakpoint, right-click the element and select Don’t Display. Or, go to the Layers panel, select the element and click Don’t Display. You can also add an element to replace it.


However, when we hide the element on mobile, this doesn’t affect the desktop layout. The element is still displayed at this breakpoint.


Editor X is an advanced creation platform. To master it, continue watching this series of video tutorials.

NEXT VIDEOS

Workspace

Learn how to size and dock elements and work with advanced flexbox and CSS grid. 

Play icon

Workspace

Learn how to size and dock elements and work with advanced flexbox and CSS grid. 

Play icon

Workspace

Learn how to size and dock elements and work with advanced flexbox and CSS grid. 

Play icon

Workspace

Learn how to size and dock elements and work with advanced flexbox and CSS grid. 

Play icon

Did you find this resource helpful?

Thank you for your feedback!

Related learning resources.

Thumbnail indicating overflow. Orange background showing 2.5 boxes of different shading. There is a white icon in the middle of it.

LESSONS & EXERCISES

Overflow

Control what happens when elements overflow their parent containers.

LESSONS & EXERCISES

Title

Learn how to work with sections—the building blocks of your site.

Start Lesson

VIDEO LIBRARY

Title

Get to know where you control size, position and behavior of all elements.

Watch Now

LESSONS & EXERCISES

Title

Learn how to take precise control over the positioning of elements using grid.

Start Lesson

Ready to start creating?

Search icon
Home icon
LESSONS & EXERCISES
Arrow down icon
Editor X Essentials
Arrow down icon
Design & Layouting
Arrow down icon
Interactions & Effects
Arrow down icon
Elements & Components
Arrow down icon
Web Concepts
Arrow down icon
Content Management
Arrow down icon
Code & Dev
Arrow down icon
Collaboration
Arrow down icon
VIDEO TUTORIALS
Arrow down icon
External link icon
External link icon
ACADEMY MENU ▶
Search icon

Top searches

People are searching for

Video tutorial introducing the Editor X workspace with an overview of the responsive layouting and design tools.

VIDEO LIBRARY

Introducing Editor X

Discover the Editor X workspace. Get an introduction to your advanced layouting tools and an overview of responsive web design features like breakpoints, flexbox and CSS grid.

Video introducing the Editor X workspace with an overview of the responsive layouting tools and design capabilities.

VIDEO LIBRARY

Getting Started

Learn the basics of creating a site on Editor X. Get a step by step walkthrough covering the key features and capabilities.

Thumbnail indicating interactions. Orange background with a shaded orange container over it. In the middle of the container is a white logo.

LESSONS & EXERCISES

Hover Interactions

Design dynamic web experiences by adding a variety of interactions to any element on hover. Customize the interaction settings for every breakpoint, from transform adjustment to advanced design capabilities and timing control.

See all results ▶