> ## Documentation Index
> Fetch the complete documentation index at: https://docs.signagelab.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Layouts

> Divide the screen into regions where different content plays at the same time.

A layout defines how the display area is divided into parts. It lets a screen play several campaigns at once, for example the main content at the top and a ticker in a bar at the bottom. Each screen has exactly one layout, but one layout can be used by any number of screens.

## How layouts work

* A layout consists of **layout regions**. Each region has a size and position given as a percentage of the screen area.
* Each layout region is linked to one [content region](https://docs.signagelab.com/cms/screens/content-regions.md), such as *Ticker layout: ticker*.
* Campaigns target content regions. A campaign plays on a screen only when the screen's layout contains the content region selected in the campaign.
* Each region plays its own playlist. Content in different regions therefore runs at the same time and independently.

**Example from the Demo account:** The Prague screens *Shop window – entrance*, *Checkout 1*, *Checkout 2*, and *Shop window – corner* use the **Ticker** layout:

| Layout region | Size and position | What plays in it |
| - | - | - |
| **Ticker layout: main area** | width 100%, height 80%, at the top | Regular campaigns, such as *Morning menu* or *Opening hours – Prague Store* |
| **Ticker layout: ticker** | width 100%, height 20%, position from top 80% | The *Daily specials – ticker* campaign |

As a result, the ticker always shows in the bottom bar while the other campaigns rotate in the main area. If the screens had the **Full screen** layout, the ticker wouldn't appear on them at all, because they wouldn't contain the ticker region. To learn how to set up the campaign itself, see [Ticker](https://docs.signagelab.com/cms/campaigns/campaign-running-text.md).

> [!NOTE]
>
> Sizes and positions are entered as percentages, so the same layout works on displays with different resolutions. On a portrait display, however, the regions look different than on a landscape one, so you'll usually create a separate layout for portrait screens.

## Layout list

In the **Screens** section, open the **Layouts** tab. For each layout, you see the **Screens count** of screens that use it and the **Used content regions**.

![List of layouts](https://signagelab-alfa-space.fra1.digitaloceanspaces.com/documentation/images/cms/screens/layouts/layouts-list-v2.en.png)

## Creating a layout

**1. Prepare content regions**

Each layout region needs a content region. If a suitable one doesn't exist yet, create it on the [Content Regions](https://docs.signagelab.com/cms/screens/content-regions.md) tab. For the *Menu + bottom bar* layout, for example, we created the *Menu* and *Bottom bar* regions.

**2. Create the layout**

On the **Layouts** tab, click **Create Layout**, enter a **Name**, and click **Submit**. The detail of the new layout opens.

**3. Add regions**

In the **Regions** section, click **Add new item** and fill in:

| Field | Description |
| - | - |
| **Width**, **Height** | The size of the region as a percentage of the screen's width and height. |
| **Position from left**, **Position from top** | The position of the region's top-left corner, as a percentage. |
| **Content Region** | The content region whose campaigns play in this region. |
| **Z-Index** | When regions overlap, the region with the higher number is on top. Give ticker and other bar regions a higher z-index than the main area. |

![Layout region form](https://signagelab-alfa-space.fra1.digitaloceanspaces.com/documentation/images/cms/screens/layouts/layout-region-form.en.png)

Save the region with **Submit** and add the others the same way.

**4. Check the preview**

Select a device in the **Reference device** field. The **Preview** shows the layout in the aspect ratio of its display. Region colors are only for the preview and don't appear on screens.

![Detail of the Ticker layout with the preview and regions](https://signagelab-alfa-space.fra1.digitaloceanspaces.com/documentation/images/cms/screens/layouts/layout-detail-running-text.en.png)

**5. Assign the layout to screens**

In the detail of each screen, select the layout in the **Layout** field and save. You can see the screens that use the layout in its detail, in the **Assigned screens** section.

> [!TIP]
>
> Before you change the layout of your screens, check that the campaigns that should run on them target the content regions of the new layout. Otherwise they stop playing after the change. The easiest approach is to select content regions for all the layouts you use, for example both **Ticker layout: main area** and **Full screen**.

## Editing and deleting regions

Click the name of a content region in the **Regions** table to edit the layout region. You can delete it in its **Danger zone**.

> [!WARNING]
>
> After you delete a layout region, campaigns targeted at its content region stop showing on screens with this layout once the playlists are regenerated.

## Deleting a layout

Delete a layout in its detail, in the **Danger Zone**, by clicking **Delete**. All its regions are deleted with it.

* If any screens use the layout, you must select a **Substitute layout** in the **Delete screen layout** dialog. It's assigned to the screens instead of the deleted one.
* You can't delete the last layout in the account.

## FAQ

> [accordion] How do I show a ticker at the same time as other content?
>
> The screen needs a layout with a separate region for the ticker, for example **Ticker** with the **Ticker layout: main area** and **Ticker layout: ticker** regions. Target the ticker campaign at the ticker region and the other campaigns at the main area. In a layout with a single region, the ticker would alternate with the other campaigns instead of running alongside them.

> [accordion] Can I use the same content region in several layouts?
>
> Yes. A campaign targeted at such a region then plays on screens with any of these layouts.

> [accordion] Why don't I see the layout preview?
>
> The preview appears only after you select a **Reference device**. If there are no devices in your account, you can't display the preview, but you can still create and use the layout.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.