Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

This pattern is used for carving up screen real estate and creating spaces to place widgets.

layout builder data definition in its default state

How it works

Row

row data definition group

Rows span the entire width of the real estate they occupy.

You can add as many rows as you need.

→ Detail: Proliferating Data Definition items

Row ID and classes

row id and classes data definition fields

These fields are useful for identifying areas of your page when applying custom CSS or JavaScript. The Row ID field accepts only a single value, whereas the Row classes will accept multiple values separated by a space.

The Row ID field can also be used to create anchors used for linking within a page.

Row ID values must be unique within a page. There isn’t any enforcement of this in Cascade and the effects of reusing an ID value in multiple places on a page may not be immediately obvious when viewing the page, but weird things can happen if you do.

Row type

row type data definition field

Selection

What this means

What this triggers

Heading

The row is utilized to display a structural content heading.

Causes the Heading Data Definition group to display.

Content

The row is utilized to display content. Selecting content here will allow you to add widgets to the row.

Causes the Widget Data Definition group to display.

Heading

Only displayed if Row type is set to ‘Heading’

heading data definition group

The Heading group contains all the fields necessary to display a content heading on your page.

Heading type
heading type data definition field

Selection

What this means

What this triggers

Default

The heading will be displayed normally on the page.

N/A

Hidden

The heading will be included on the page structurally, but not displayed visually.

N/A

Providing headings in your content is super helpful for accessibility, even if they are hidden visually, because they give a document structure and enable easier navigation within the content.

Heading level
heading level data definition field

Selection

What this means

What this triggers

Section heading

The heading identifies a high-level section of the page (<h2>).

N/A

Subheading

The heading identifies a lower-level subsection of the page (<h3>).

N/A

Text
heading text data definition field

This is how the heading will read.

Widget

Only displayed if Row type is set to ‘Content’

widget data definition group

The Widget group contains all the fields necessary to assign a widget to a row.

You can add as many widgets as you need.

→ Detail: Proliferating Data Definition items

Widget ID and classes
widget id and classes data definition fields

Same idea here as with rows.

Width
width data definition field

This field set the width of the widget on a scale from 1 (smallest) to 24 (widest). Selecting ‘Not set’ will cause the widget to fill remaining width in the row.

If the sum of width values for all widgets in a row exceeds 24, the widgets will wrap onto a new line, effectively creating multiple visual rows within a single structural row.

Widget block
widget block data definition field

Use the asset chooser to select the widget you want to use.

  • No labels