Position controls how an element is placed on the page relative to other elements or the viewport.
You can set it from the Position dropdown in the Design tab on the Right Panel.
Click on the Position dropdown to select the Position Type. Below is the list of the 5 different values the Position property has to offer:
Elements are positioned based on the usual flow of the document. Other values have no effect. This is set as the default value for Position.
Elements flow normally but can be nudged using offset controls. This means that other elements will behave as if it is taking their usual position even when they are offset.
Elements are removed from the usual flow of the document and positioned relative to their closest ancestor, if any, or placed relative to the initial containing block.
The final Position is based on the offset values.
Fixed positioning removes an element from the normal document flow and positions it relative to the viewport, which means it remains fixed in its position even when the page is scrolled. This is true regardless of the ancestor elements’ properties like transform, perspective, filter, or will-change.
The element’s final position is determined solely by the offset values, without considering the properties of its ancestor elements.
Elements are positioned based on the usual flow of the document and then nudged relative to the nearest scrolling ancestor and containing block based on offset values.
Other elements’ Position is not affected by this offset.
For Relative, Absolute, and Fixed positions, use the offset grid to define the element’s distance from each edge:
Available for all position types except Static, the Z Index controls the stacking order of the element on a page.
Elements with a higher Z Index appear on top of those with a lower value. Drag the slider or enter a value directly into the field to set it.
Sticky positioning is useful for elements you want to keep visible as the user scrolls – like a navigation bar, a sidebar, or a call-to-action button.
To make an element sticky:
📝 Note: For sticky positioning to work correctly, make sure the element is not nested inside a parent with overflow set to hidden or auto, as this can prevent the sticky behavior from taking effect.
Was this page helpful?
Our website uses cookies to improve your browsing experience on our website. By continuing to use this website, you agree to their use. For details, please check our Privacy Policy.