Stack.

Use stack to control the vertical relationship between elements and prevent overlap on smaller screens. Add, remove and organize the elements in your stack to ensure your content maintains its order at every viewport.

Use stack to control the vertical relationship between elements and prevent overlap on smaller screens. Add, remove and organize the elements in your stack to ensure your content maintains its order at every viewport.

Let’s take a look at how to use Stack on Editor X.


On a responsive site, elements are free to resize and change position depending on the viewport. Use Stack to keep elements at a set distance from each other across all breakpoints.


This comes in handy with elements like text and buttons, when you want to maintain the vertical margins between them and prevent overlap on smaller screens.


Any elements on your canvas that are arranged in a vertical order can be stacked.


Here’s how it works.


On desktop, we’ve already sized and positioned our title, paragraph, and button.


But as we resize the screen, you can see these elements don’t have any spatial relationship between them yet.


From the Layers panel, notice how the elements are positioned freely within this section.


To create a relationship between these elements, use the Shift key to multi-select them and click Stack. This places them inside a responsive flexbox container that maintains their order.


Inside this new container, the elements now have vertical margins between them, indicated by these blue strips.

To adjust these margins, select an element, and from the Inspector panel, type in your desired value.


Now, when you resize the screen, you can see the 3 elements maintain a clear vertical relationship between each other.


Drag elements to reorder them in your stack. Notice the margins automatically adjust in relation to the new order.


You can always drag elements in and out of your Stack to attach and release them.


To release all elements from the flexbox container, select your stack, then click Unstack, or use the action menu from the Layers panel. Note, these actions change the hierarchy of the site, so they affect all breakpoints. Find out more about hierarchy in the Element Hierarchy and Parenting video in this series.


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

NEXT VIDEOS

Video tutorial about how to design responsive layouts using a Layouter on Editor X

Learn how to design responsive layouts using a Layouter.

Play icon
Video tutorial about how to use a Repeater on Editor X to display dynamic content with uniform styling.

Learn how to use a Repeater to display dynamic content with uniform styling.

Play icon
Video about designed sections on Editor X, and how they give inspiration and help you learn about responsive technologies

Add customizable wireframes & designed compositions to any site.

Play icon
Video about how to apply and customize hover interactions on Editor X.

Learn how to apply and customize interactions to any element on hover.

Play icon

Did you find this resource helpful?

Thank you for your feedback!

Related learning resources.

Blue background with the outline of a box in the middle of it. The box has alternating shaded blue lines, there is a white icon in the middle of the box. This shows stack.

LESSONS & EXERCISES

Stack

Learn how to use stack to control the vertical relationship between elements.

Blue background showing a layouter in the middle of it.

LESSONS & EXERCISES

Layouter

Get to know the Editor X Layouter, built on flexbox technology.

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
Collaboration
Arrow down icon
VIDEO LIBRARY
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.