Skip to main content

Advanced Control Settings: Grid Child

Set position, alignment, justification, and responsive order for a control inside a Grid.

When a control is placed inside a Grid, the Grid Child settings are available in the Advanced tab.

Original Grid child settings with Auto selected, Column span 2, Row span 1, Alignment, Justify and Order.

Original Grid child settings. This historical screenshot shows Auto, Column span 2 and Row span 1; the capture date and product build are unknown.

Position

The Position settings define the Grid child element's place and span (rows/columns) relative to the grid. You can set the position settings as Auto, Area, or Custom.

  1. Auto: You can set the span of the column and row in which the current elements will place to. Each span means a unit of the column/row. For example, if you want to have the current elements use 2 columns and 1 row, you can set Column span = 2, and Row span = 1. This is similar to merging cells of a table.

    Original Auto layout with an orange two-column, two-row element and a purple one-column, three-row element.

    Original Auto layout. The orange element uses Column span 2 and Row span 2; the purple element uses Column span 1 and Row span 3.

  2. Area: If you've defined areas from the parent Grid control, you can choose to place the current elements to one of the defined areas. Imaging that the parent Grid has 4 columns and 5 rows, and you've created 5 areas for the parent Grid as below:
    The structure of your Grid now will be organized with Areas like this:
    Then you can choose the areas for the child elements by clicking Area from the Position options and select the specific area from the below drop-down list.

    The original Areas panel lists the following Column: Start/End and Row: Start/End values. These are example settings, not defaults:

    Header: columns 1 / 3; rows 1 / 1.

    Left: columns 1 / 1; rows 2 / 4.

    Content: columns 2 / 3; rows 2 / 4.

    Right: columns 4 / 4; rows 2 / 4.

    Footer: columns 1 / 4; rows 5 / 5.

    Named grid regions with a full-width Header and Footer and Left, Content and Right in the middle.

    Original named-region layout: Header is at the top; Left, Content and Right run left to right across the middle; Footer is at the bottom. Header spans the full width here, unlike the separate panel’s Column Start/End 1/3 example.

  3. Custom: If you want to place the current element to certain cells, you can choose to use the custom option, and select exactly the columns and rows. For example, from column 2 to column 3, and start from row 1 to row 4.

    Original Custom layout with overlapping orange and purple elements in a four-column grid.

    Original Custom layout. The orange element shows Column Start/End 2/3 and Row Start/End 2/3; the purple element shows Column Start/End 3/3 and Row Start/End 1/4.


Alignment

The alignment property specifies the vertical alignment for the selected element inside the Grid.

  1. Start: The element is positioned at the top of the cell.

  2. Center: The element is positioned at the middle of the cell.

  3. End: The element is positioned at the bottom of the cell.

  4. Stretch: The element is positioned to fit the cell.

    Vertical alignment examples. Start places the element at the top, Center at the middle, End at the bottom, and Stretch fills the height.

    The four vertical alignment examples show Start, Center, End and Stretch.


Justify

The Justify property specifies the horizontal alignment for the selected element inside the Grid.

  1. Start: The element is positioned to the start of the cell.

  2. Center: The element is positioned to the center of the cell.

  3. End: The element is positioned to the end of the cell.

  4. Stretch: The element is positioned to fit the cell.
    ​
    ​

    Horizontal justification examples. Start, Center and End position the element across the cell. Stretch fills the width.

    The four horizontal justification examples show Start, Center, End and Stretch.


Order

The order is primarily used in combination with the responsive breakpoints. This allows you to order/reorder the elements based on the viewport. (Example: You wish to rearrange three or more elements in mobile view) You may choose between:

  1. Start

  2. End

  3. Custom – If custom is selected the following options will appear:
    Custom Order – Enter value

Preview at the desktop and mobile widths you support. Check the child’s spans, named area or custom position, alignment, and responsive order. Compare the actual placement with neighboring controls before publishing.


​
​

Did this answer your question?