Design & Layouting

Pinned position.

Use Pinned position to lock elements in place as users scroll through an element’s parent or the page.

Setting the position type to pinned

To change an element’s position, open the inspector panel and click the dropdown under Position type, then select Pinned.

Alt text: A fashion website on Editor X. A black circle with the words new collection on it is the selected element and the cursor is highlighting the Pinned option in the Position type dropdown.

Defining what the element is pinned to

To define where you want to pin an element, click the Pin to dropdown.


The options that will appear are dependent on whether the element’s parent is a container or a section.


Select one of the options to set your desired behavior:

Container: Make the element visible as visitors scroll through a specific container.

Section: Make the element visible as visitors scroll through a specific section.

Page: Make the element visible as visitors scroll up and down the page.


Depending on what your element is pinned to, it will behave differently in relation to how the user scrolls through your design.


If an element is pinned to the page, the position of that element will be set relative to the viewport, meaning the element will always be fixed in that position regardless of how the site sections scroll. You may be familiar with this position as the CSS property Fixed.


If an element is pinned to a parent section or container, the element’s position will be set relative to its parent. When an element is pinned to a section or a container, the element will only stay in place as a user scrolls through that section or container*.


Once its parent moves out of the viewport, the pinned element will move with it and will no longer be visible.


Note that pinned elements are not affected by parent overflow. For example, whether the overflow is set to hidden, scroll or show, the pinned element will still be displayed.


*To find out how to create scrollable containers visit our overflow article.

A fashion website on Editor X. A black circle with the words new collection on it is the selected element and the cursor is highlighting Layouter in the Pin to dropdown menu.

Changing from Pin to page to Pin to section

Click the Position type dropdown and choose one of the other options—Default or Sticky—to remove the existing Pinned position.


Then, click on the Position type dropdown again, choose Pinned and select Section under Pin to.

A fashion website on Editor X. A red circle with the word shop on it is the element that’s been selected and the cursor is highlighting Section in the Pin to dropdown.

Intro

Anchor

TRY IT YOURSELF

Exercise on pinned position.

Open Academy X from desktop to complete this exercise.

{No.}

{Exercise Description}

Open advanced exercise on the editor →

{No.}

{Exercise Description}

Open Academy X from desktop to complete this exercise.

Did you find this resource helpful?

Yes thanks
Not really
Submit Feedback

Thank you for your feedback!

Next lessons.

VIDEO LIBRARY

Title

Learn how to add new sections, rearrange them & flip them to vertical.

Start lesson

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.

Start lesson

LESSONS & EXERCISES

Title

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

Start lesson

Related learning resources.

VIDEO LIBRARY

Title

Learn how to add new sections, rearrange them & flip them to vertical.

Watch Now

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 LIBRARY
Arrow down icon
External link icon
External link 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.

ACADEMY MENU ▶
Search icon