Series 7: Design Chapter 4 of 8

Format profiles: background and font of blocks

Editing content
Applies to: Template of the example website As of Sulu 3.0

This belongs to the template of the example website. On your website it may look different or be missing.

In short

A format profile is a snippet with the settings for the look of a block. You choose it in the More Options for the whole page or in the block configuration for a single block. If you change the profile, all blocks that use it change.

A format profile determines how a block looks: background, font color, heading and image frame. You create it once and use it for as many blocks as you like.

Helpful first: 7.1 Design at a glance

Step 1 of 6 Before: all blocks alike

The example page has three text blocks without a format of their own. All three look the same.

Step 2 of 6 After: Raised and Call to action

The same blocks with profiles. The second block has the profile Raised and sits on a white surface. The third has the profile Call to action: green background, white font, centered.

Step 3 of 6 Look at a profile

In the main menu, click Snippets, search for “Call” and open Call to action with the pen icon.

  1. Background: color or box of the block.
  2. Font: the font color, white here.
  3. Heading: size and alignment of the title.
  4. Images: frame, shape and filter of the images.

There is also the area Content with the alignment of the text. There are seven format profiles: Default, Raised, Accent, Dark, Centered, Call to action and Notice.

Step 4 of 6 Choose a profile for the whole page

Open the page and unfold More Options on the tab Content. At Format profile, click the icon in the field. The list Choose snippet opens with all format profiles. Check one and click Confirm.

The profile then applies to all blocks of the page. If the field stays empty, the default format profile applies.

Step 5 of 6 Choose a different profile for a block

Open the block and unfold the Block Configuration at the bottom. Source offers three entries: Page profile (default), Other profile and Custom formatting.

If you choose Other profile, the field Format profile appears. There you choose the profile for this block only.

Step 6 of 6 Start a new profile

In the list of snippets, click Add. The new snippet is empty. Next to the brush icon you see the kind of snippet. A click on it opens the list of kinds. Choose Profile: Format, enter a title and fill in the fields. Then save and publish the snippet.

Changes take effect everywhere

A profile is a snippet. If you change it, all pages and blocks that use it change. Check the result in the preview before you publish.

More on this