Designing page layouts with rows and columns
Adding and customizing rows
A row is automatically added after you add any component to the page.
You can add background images to make rows visually engaging or use a background color to create contrast. You can nest components within a row and provide context for the text in the component. Row properties override properties that you configure at the page level.
To learn how to customize a row, see Customizing-the-appearance-of-a-row.
Restrictions for using page components in rows
The total width of all components in a row is restricted to 100%, which is the full width of a page. Each page component has a specified minimum width, expressed as a percentage of the full page width (100%). For example, the minimum width allowed for the container is 10%. When you add multiple page components in a single row (horizontally), you must consider the total sum of the components' minimum widths to comply with the designated 100% width limit of the row.
The following table describes the minimum width allowed for each component:
Component | Minimum width allowed |
---|---|
Container | 10% |
Content block | 10% |
Catalog section | 25% |
Catalog banner | 100% (fits across the full width of the page) |
Events | 100% (fits across the full width of the page) |
Record view | 33% |
Asset group | 25% |
Search bar (standalone) | (Version 23.3.01 and later) 25% |
Adding and customizing columns
Containers allow you to create columns and organize multiple components within them. You can add a background image to make columns visually engaging or add a background color to create contrast.
Behavior and restrictions of the Container component
Be aware of the following behavior and restrictions when arranging components in a column:
- You cannot configure the height of a container. It takes the full height of the row in which it nests.
If a container is empty (no component is added to it), in the end user view, the space occupied by the container is not rendered.
If a container is the only component in the parent row, it occupies the area of the content within it.
To configure the Container component for columns
You add the Container component to the page to be able to stack components in a column.
- Log in to the Admin console and select Configuration > Studio.
- Create or open a studio page that you want to design.
- Click Components .
- Drag the Container component to the page canvas.
On the Container Properties
You have configured the container component. You can now add other components and arrange them vertically within this container.
To arrange components within a container
After configuring the container, you add and arrange components in the container.
- Log in to the Admin console and select Configuration > Studio.
- Create or open a studio page that you want to design.
- Click Components
Drag a component and position it within the container.
The following table provides options for how you can position a component in the container:Position
Example of placing the content block
In the top row of the container
In a column of the container
In a new row within the container
- Configure the component; see Creating-pages-in-the-studio.
- Save the page.