Containers

A page is made from a template. The template fixes the parts that are the same on every page, such as the header and the footer, and leaves one or more containers open. A page's own components always go in one of those open containers; most templates have one, called main.

The containers of a page

The Content tree tab of the side panel shows them, each with what it holds, in the order of the page.

The Content tree tab: Container main holding Text, Accordion and a Container, which holds a Call to action

Number

Part

What it does

1

Container · main

An open container of the template, with its name. Everything under it is the page's own.

2

Container

A container of the page's own, inside main, with the components it holds under it.

Click a line to select that component on the page. In edit mode, an empty place of a container shows Drag components here: drop a component from the Components tab there.

A container of the page's own

On some sites a page can also group components in a container of its own: a band across the page with a coloured background, for instance, around a call to action. The site offers this when its settings use nested containers; the starter sites do.

The Components tab with Container under Layout, described as a band of its own around components

Number

Part

What it does

1

Container

Drag it onto the page like any component. It arrives empty, with its own Drag components here.

The Frequent questions page with its yellow band selected: a blue frame named Container, its toolbar, and two drop places

Number

Part

What it does

1

The container

Selected from the tree or by clicking a free place of it. Drop components in it, or move the ones already there in and out.

2

Toolbar

The wrench chooses its style, the arrows move it with everything inside, and the bin removes it.

A container's styles come from the theme: on the starter sites, a soft, dark or accent band. Removing a container keeps what it held: the components move up into the container around it. Remove them one by one first if they should go too.

Containers that take only some components

A template can say which components a container takes. Components that do not fit are greyed out in the Components tab, and dropping one there says This container does not take that component.

On a Google Drive site

In the page's Google Doc, a container is a table of one cell with its name, before its components. On a site with nested containers, a table with /main or /container closes it. The editor writes these tables for you; they matter only when the Doc is changed by hand.