Series 7: Design Chapter 1 of 8

Design at a glance

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

Design lives in four places: the configuration snippet for the whole website, profiles for many pages, the More Options of a page and the block configuration of a block. The narrower place wins.

You set the look of your website in four places. They differ in how much they affect: the whole website, many pages, one page or a single block.

The narrower place wins. A block with its own profile beats the profile of its page. The profile of the page beats the default profile.

All four places belong to the template of the example website; Sulu does not bring them. The menu path Snippets › Configuration: Webspace and the tabs in the snippet come from two extensions, described in More extensions of the example website.

Helpful first: 1.7 Snippets: maintain once, visible everywhere

The four places

Image 1 of 4The configuration: for the whole website

The configuration snippet of the website with the areas "Style" and "Dark mode".

The configuration snippet applies to every page. You find it in the main menu below Snippets at Configuration: Webspace. On the tab Style, the area Style holds background, spacing and shadows. Under Dark mode you choose the light or dark mode.

The tabs Header & navigation, Footer and Features collect the settings for menu, footer and search.

  1. Style Background, spacing, shadows, icons and maps for the whole website.
  2. Dark mode The mode for new visitors and a switch that visitors can use to change it themselves.

Image 3 of 4The page: one profile for all blocks

The tab "Content" of a page with the further options. At the bottom are the fields for effect, format, collection and contact profile.

Open a page and unfold More Options on the tab Content. At the very bottom you choose an Effect profile, Format profile, Collection profile and Contact profile.

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

  1. Effect profile How content appears while scrolling.
  2. Format profile Background, font and heading of the blocks.
  3. Collection profile How lists show their entries: tiles, rows or slider.
  4. Contact profile What contact blocks show and how.

Image 4 of 4The block: an exception

An opened text block with its block configuration. The source is set to "Other profile", the format profile is "Raised".

Every block has the area Block Configuration at the bottom. Under Source choose Other profile and then the profile for this block only. The default is the profile of the page.

The image shows the text block “Tyre service” with the profile Raised.

  1. Block Configuration The settings of this block only.
  2. Source “Page profile (default)” is the default. “Other profile” opens the choice of a profile.
Work in this order

Set up the website first, then the profile of the page. Only give a block a profile of its own if it is meant to stand out.

More on this