Absolute positioning of elements in ordinary blocks
Absolute positioning is a property of an element that allows it to be placed anywhere within a block, not just within the block structure (its grid).
By default, all elements on Weblium are placed one by one in the block columns. For example, a heading, image, and button can be placed in one column, and these elements have some space between them. With absolute positioning, you can place elements out of the column and overlap other elements. It allows you to implement many creative design ideas and place elements elegantly.
Enabling absolute positioning for an element
In addition to using a Flex block where all elements have absolute positioning, you can apply absolute positioning to elements inside a custom block and many more other ones. To do this, click on the three dots in the upper left corner of the needed element and click on the Absolute positioning:

After that, the element will be detached from the block's structure, and you can place it in any way, for example, over another element. In the example below, absolute positioning was applied for one image and placed above another static image:

Below the selected image, you can see its dimensions in pixels.
Useful tips:
- You can change the size of an image by holding the left mouse button on the border of the element and dragging the mouse pointer to the center of the image (to reduce it) or away from the center (to enlarge it);
- Double click on the image to open its settings;
- When moving an element, a dotted line leads from it to the upper left corner of the block, which helps to understand which block the selected element belongs to;
- Hold down the Shift key and select several elements with the left mouse button to move them simultaneously;
- After applying absolute positioning to the elements, you should open the editor for mobile and tablet site versions and individually move elements to display them in the way you need.
- You can move elements 1 pixel by pixel using the arrow keys on your keyboard.
- Absolute positioning for elements is unavailable in collection blocks and some other blocks.
Return the static positioning of the element
If you've applied absolute positioning to an element, you can return it to static (ordinary) positioning so that the element is positioned within the columns (grid) of the block. To do this, click on the three dots in the upper left corner of the needed element and click on the Static positioning in the drop-down menu:

This way, the element will be placed on the left in the highest column in the block. After that, this element can be moved only within the block's columns (within the block's grid). In the example below, the already static element is placed in the left column:

Updated on: 04/18/2024
Thank you!
