Positioning
Positioning moves an element out of the place the page builder would put it. It is not an element you add to a page: it is a tab on the elements that support it, and it is how one element is laid over another without a custom template or a wrapper row.
Reach for it when a badge has to sit on the corner of a card, a shape has to bleed off the edge of a section, or two elements have to overlap rather than stack.
Where it appears
The tab is on seven elements: Animated Shape, Badge, Buttons, Content Trail, Icons, Image and Lottie Animations. Badge and Icons carry every setting except Z-index.
Settings
- Position ChoiceResponsive. Set a different value for desktop, tablet and phone. How the element sits in the page. Desktop offers Default, Relative and Absolute; tablet and phone swap Default for Inherit, which is what they start on, so a setting made once on desktop carries down.
- Positioning NumberResponsive. Set a different value for desktop, tablet and phone. Top, bottom, left and right offsets. They do nothing until Position is Relative or Absolute.
- Transform NumberResponsive. Set a different value for desktop, tablet and phone. Translate X and Translate Y, which move the element without changing where the page thinks it is. These work at any Position, including Default.
- Z-index Number The stacking order, for deciding which of two overlapping elements is in front.
The offset and transform fields take a number and a unit: %, px, rem, em, vw and vh all work, and a bare number is read as pixels. A negative value is what pulls an element outside its column.
The three positions
Default The element sits in the flow, one thing after another down the column. Offsets are ignored.
Relative The offsets shift it from where it was, and the space it came from stays reserved. Nothing below it moves.
Absolute It leaves the flow entirely. The column closes up as though the element were not there.
Absolute is the one that does the layering, and it is the one that surprises people. Two things follow from being out of the flow:
Nothing reserves space for it. A column holding only absolutely positioned elements collapses to no height at all, and the row closes up around it. Give the column a height, or leave one element in the flow to hold it open.
The offsets are measured from an ancestor, not from the column by default. They resolve against the nearest ancestor that is itself positioned, which on a page builder page is often the row rather than the column you put the element in. To anchor it to its own column, open the column's settings and set its Position to Relative.
Transform rather than Position
For a nudge, Transform is usually the better tool. Translate X and Y move the element on screen while the page continues to lay out around where it was, so nothing collapses and nothing has to be anchored. A 20px lift on an icon, or a half column overlap on a picture, wants a translate; a badge pinned to the top right corner of a card wants Absolute.
Both are per breakpoint, and both are worth checking at phone width, where a layered composition that works on a wide screen usually needs the overlap reduced or removed.