Push & Pull

Page elements are displayed in a particular order. By default they are ordered by their place in the HTML of the page: the 1st element is positioned top-left on the page, the 2nd element immediately below that, and so on. If an element is positioned inside of another element the exact same principle applies inside that element (the parent element). Elements can be positioned next to each other with the float property. For example, every Column Element in Layout Maker is set to float left. This makes them appear from left to right inside of the parent row in the order in which they are placed.

In a responsive layout design it can be desirable to make changes to the display order. This can be done with the ‘Push & Pull’ control. In the example below the green column is placed 1st in the actual code, but displayed on the right on large screens. For mid-sized screens (e.g. tablets) it is displayed in the middle. On small screens the orange elements are displayed after (below) the green element.

3

1

2

A practical design example would be two images placed next to each other, both with descriptive text below the image. To give the images a bit more display room on mid-sized screens, they can be placed below each other with the associated text on the left or right.

This is illustrated below, both with the orange and green demo elements and a realistic example with image and paragraph (placeholder) elements. There’s a number of other use cases where control over the column position comes in real handy.

(As do these paragraphs...)

1

3

2

4

Image

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus

Image

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus

End of Push & Pull