Mella CMS · user guide

9. Design: the page builder

Who: admins. (Editors and admins can also give a single page its own layout, see A different layout for one page.)

The whole public site is built from blocks: a heading, a picture, a button, a list of posts, columns that hold other blocks, and so on. In Design you place and change these blocks visually, on a live copy of your real site. You do not need to know any code.

Some ideas to keep in mind:

The Design page

Open Design in the menu.

The Design page

  1. A card for every part of the site: Header, Footer, Page, Post, Home & archives and 404 page, and a card for Site style.
  2. A label shows the state of that part:
    • Default: the built-in design is used.
    • Customized: your own design is live.
    • Draft: you have saved changes that are not published yet.
    • Same as default language: (only on sites with several languages) the language uses the design of the default language.
  3. Open builder opens the visual builder for that part.
  4. Site style has its own editor for colours, fonts and sizes (see below).

A tour of the builder

Press Open builder on Home & archives. The builder fills the whole window:

The page builder

  1. ← Back returns to the Design page. If you have unsaved changes, the CMS asks first.
  2. The title and the status of what you are editing. The status says Default design, Unsaved changes, Draft saved · not live yet or Live.
  3. Desktop / Mobile switches the width of the preview, so you can see how the page looks on a phone.
  4. Light / Dark: preview the page in light or dark colours (when the site style follows the visitor's device).
  5. Undo and redo (Ctrl+Z, Ctrl+Shift+Z). Every change can be undone.
  6. ⋯ More actions: Discard unpublished changes and Reset to the default design.
  7. Save draft: saves your work without making it live.
  8. Publish: makes your work live.
  9. The tabs of the left panel: Blocks, Layers and Style (site style).
  10. The left panel with the blocks you can add (the palette).
  11. The canvas: the real site in a live preview. Click anything to select it.
  12. The right panel shows the settings of the selected block.

Above the canvas you may also see a menu such as Preview as (Home, Category page or Search results) for Home & archives, or Preview with (choose which post or page the preview shows) for Post and Page. These only change what the preview shows; they never change your site.

Selecting and changing a block

Click a block on the canvas. It gets a blue outline and a small toolbar, and its settings appear on the right:

A selected block

  1. The selected block. (Press Esc or click an empty part of the page to deselect.)
  2. The name of the block and its actions: ↑ and ↓ move it, ⧉ duplicates it and ✕ deletes it.
  3. Content / Design. Content has the block's own settings (text, link, image…). Design is about how it looks (below).

Useful keys while a block is selected: Del deletes it, Ctrl+D duplicates it, Alt+↑ / Alt+↓ move it, Ctrl+Z undoes and Ctrl+S saves.

Adding a block

The left panel lists the blocks in groups (Layout, Content, Site, Post / page, Archive). The groups can be folded with their headings. A list of all blocks is at the end of this chapter.

Changing the width of columns

Select a Columns block (or one of its columns) and the canvas shows its twelve-unit grid as faint vertical bands. A blue handle sits on the edge between each pair of neighbouring columns.

Example: a hero banner at the top of the home page

  1. Open the builder for Home & archives, make sure nothing is selected, and click Hero banner in the palette. A banner is added at the end of the page.
  2. Press ↑ in the right panel until it is at the top.
  3. Fill in the settings:

Adding a hero banner

  1. The block you clicked in the palette.
  2. Its settings: Heading, Text, Button label, Button link, alignment, how much to darken the background picture, and the minimum height.
  3. The banner on the canvas, updated as you type.

The Design tab

Select a block and open the Design tab for the look of the block.

The Design tab

  1. Content / Design tabs. Under them, the buttons Whole block, Heading, Text, Button choose what to style. A block such as the hero banner has parts, and you can style each one on its own.
  2. Spacing: padding is the space inside the block, margin the space outside it. Type a number in pixels; type auto on left and right to centre a narrow block.
  3. Background: choose a colour, a picture or a gradient.

The other groups below are folded; click a heading to open one:

Choose a picture as a background with Choose…:

A background picture

  1. Change… replaces the picture; Remove takes it away. The picture opens from the media library.
  2. The banner now has a picture. The hero's Darken image setting (in Content) keeps the text readable.

Gradients, effects and animation

These are all in the Design tab and apply to the whole block, text and pictures included (a few can also be set for one part of a block, see Hover on a part). They are drawn from a fixed set of safe choices, so you cannot break the page with them.

Ready-made looks

The first group in the Design tab, Ready-made looks, applies several settings at once. Click one to start from it, then change whatever you like below.

Ready-made looks

  1. Ready-made looks. Click the heading to open the list.
  2. The looks: Lifting card, Frosted glass card, Grows when pointed at, Grey until pointed at, Soft entrance, Blocks one after another, Gradient banner, Slowly shifting colours, Floating and Draws the eye. Point at one to read what it does. Only the looks that suit the block are listed: Blocks one after another, for instance, appears on blocks that hold other blocks. A look adds to what the block already has and only replaces what it sets itself. Take off all gradients, effects and animations (shown once the block has any) removes them again and leaves spacing, colours, text and picture alone.
  3. The block you are changing.

Gradient

In the Background group, the Gradient row lays a colour fade over the block. Click one of the ready-made gradients to start from it, then change it as you like. A gradient lies on top of the background colour and on top of a background picture.

A gradient on the banner

  1. Ready-made gradients. Shade for text fades a picture into dark at the bottom, which keeps text on a photo readable.
  2. Linear, Radial or Conic. A linear gradient also has a Direction (an angle in degrees); a conic one has a Start angle.
  3. The colours, from two to five. For each: its colour (the site's own colours follow your site style, including dark mode), its Position along the gradient in percent, and its Opacity. A colour with less opacity lets what is behind it show through, which is how a picture fades out. Add colour adds another, Reverse turns the gradient around and Remove gradient takes it away.
  4. The result on the banner. Here a transparent-to-dark gradient sits on the picture.

Two more things belong here:

Effects

The Effects group changes how the block looks, always:

On hover

The On hover group is what the block does while a visitor points at it.

Effects and the hover effect

  1. A filter slider in Effects. Here the banner is blurred and grey.
  2. Blend with what is behind.
  3. Lift, Size, Tilt and Shadow move and change the block under the pointer. Size when pressed makes it a little smaller while it is pressed (a click or a tap, so it also works on touch screens). Speed sets how long a change takes.
  4. Remove the effects above takes the block's filters, frosted glass and blending away under the pointer. A grey picture becomes colourful when it is pointed at. (It is greyed out while the block has no effects.)
  5. Filters while hovering change a single filter under the pointer, for example blur from 8 px down to 2 px instead of removing it. A dimmed slider means "the same as without hover"; move it to set a value, and click × to put it back.
  6. The banner on the canvas. Point at it in the builder to try the hover effect.

Touch screens have no pointer, so they never show a hover effect (pressing still works). Visitors who ask their device for less motion see no lift, size or tilt.

Hover on a part

A block with parts (see The Design tab: the buttons under Content / Design) can give each part its own hover effect. Choose the part, for example a card's Image, and open On hover.

A card's picture zooming

  1. The parts of the block. Whole block is the block itself.
  2. The same Lift, Size, Tilt, Shadow and Filters while hovering as for a block.
  3. Reacts when says what sets it off: The whole block is pointed at (the card's picture zooms as the card does, the default for pictures) or This part is pointed at (a button lifts on its own, the default for the rest). Set an effect first, then choose.
  4. The card on the canvas. A picture that zooms stays inside its frame.

Animation

The Animation group has parts that can be used together.

Animation settings

  1. When it comes into view plays when the block first scrolls into sight: Fade in, Rise from below, Drop from above, Slide in from the left or the right, Zoom in, Sharpen from blurred, Flip up, Turn in, Bounce in, Wipe from the left or Wipe upward.
  2. Duration and Delay; for the sliding ones also Distance. Easing is Smooth, Overshoot a little, Gentle or Even. Tick Play again every time it comes into view to repeat it each time the block returns to the screen. Give neighbouring blocks slightly different delays and they appear one after another.
  3. Keeps moving goes on for as long as the page is open: Float up and down, Pulse, Swing, Spin, Heartbeat, Shake now and then or Shifting gradient (this one needs a gradient in Background and no background picture). It starts when the entrance is over.
  4. Seconds per round is how long one turn, swing or float takes.
  5. As the page is scrolled ties a movement to the scroll bar: Drift slower than the page, Grow as it comes in or Fade in and out. It works in Chrome, Edge and Safari 26; other browsers show the block still.

A block that holds other blocks (a Section, Columns or a Column) also has Blocks inside, one after another: each block inside comes in with the entrance you choose, a little after the one before (Time between blocks). A block inside that has an entrance of its own keeps it. This is the quickest way to make a row of cards appear one by one.

Remove animation takes them all away.

In the builder the entrance plays again whenever the page redraws, for example when you change a setting, so you can see it straight away. A movement runs only on the block you have selected, so that the others do not distract you.

Visitors who ask their device for less motion see no animation at all. A block with an entrance animation stays invisible until the page's script shows it; if that script cannot run, such blocks appear by themselves after a couple of seconds.

Layers

The Layers tab shows the structure of the page as a tree of blocks inside blocks. Click an entry to select that block, and drag entries to reorder or move them. This is the easiest way to select a block that is hard to click, or to move something into a different section.

The Layers tab

  1. Switch between Blocks, Layers and Style.
  2. The tree. The selected block is highlighted.

Mobile and dark mode

Press Mobile to see the page at the width of a phone.

The mobile preview

  1. Switch between Desktop and Mobile.

While Mobile is selected, the Design tab says Editing mobile overrides (screens up to 800px). Empty fields use the desktop value. So you can, for example, use smaller padding or hide a block on phones without touching the desktop design. Columns stack on top of each other on small screens by themselves.

When the Light / Dark buttons are shown, they preview the site in the visitors' light or dark colours:

The dark preview

  1. Switch between Light and Dark. This is only a preview and is not saved.

Saving, publishing and going back

The more-actions menu

  1. ⋯
  2. Discard unpublished changes throws away your draft and returns to the live design. Reset to the default design removes your customisation of this part and goes back to the built-in design.

Press Save draft (or Ctrl+S). The status changes to Draft saved · not live yet:

A draft was saved

  1. The status under the title.
  2. Publish is now available.
  3. A message at the bottom confirms the save.

When you press Publish, the CMS asks you to confirm and the design goes live:

The design was published

  1. The status is Live.
  2. A message confirms the publication.

Visitors now see the new banner:

The home page with the banner

A draft is kept even if you close the builder; come back later and continue (changes you have not saved with Save draft are lost). Each part (header, footer, pages…) has its own draft. Publish makes the part you are working on live, together with the site style if you have changed it. Drafts of other parts stay drafts until you publish them from their own builder.

The header and the menu

The Header template holds the site title, the tagline, the menu and the search box. Open Header → Open builder and click the menu:

The menu block in the header

  1. The title of what you are editing.
  2. The menu block on the canvas.
  3. Its settings. The menu is a list of links.

Each link in the list has its own settings. Click ✎ next to it (↑ and ↓ change the order, ✕ removes it):

A menu made before menus were lists shows its old switches (Include "Home", Include "Blog", Include "Shop") and Extra links. Edit the links as a list turns them into the list above; the links stay the same.

The Design tab of the menu changes the look of the links, the current page and the drop-down.

Site style: colours, fonts and sizes

The Site style applies to the whole site and is shared by all templates. Open it from the Design page (Site style → Edit style) or from the Style tab in any builder.

Site style

  1. The Style tab.
  2. Colour mode: Light and dark (follow the visitor's device), Always light or Always dark. When both are used, switch between Light and Dark to edit each palette.
  3. The colours: page background, cards and header, text, muted text, borders, links and accent, text on accent, and code background. Click a swatch to pick a colour or type a hex code such as #1a7f7a. The canvas changes straight away.
  4. Fonts: one for body text and one for headings and titles. Below them are sizes: text size, line height, site width and corner radius. Reset site style returns all of them to the defaults.

Lower down in the Style tab is Page change: how one page gives way to the next when a visitor follows a link. The page just changes (the default), The old page fades into the new one, or The old page slides out, the new one slides in.

Page change

  1. When a visitor follows a link. This works in Chrome, Edge and Safari; other browsers just change the page, and visitors who prefer less motion see no effect.

Press Save draft and then Publish to take a new style live.

A different layout for one page

Sometimes a single page should look different from the others, for example a landing page, or a contact page with a form. Editors and admins can give any post or page its own layout, without touching the design of all the others.

Open the page in the editor and press Design layout:

The Design layout button

  1. Design layout. A tick (✓) after the name means that this page already has its own layout.

The builder opens with a copy of the standard Page template. Select the text of the page and click Contact form to add a form below it:

A page layout with a contact form

  1. The title shows which layout you are editing: Layout of “Contact”.
  2. Contact form in the palette.
  3. Save layout stores it. For one page there is no draft step: it is live as soon as you save.

The visitor sees a page with the form:

The contact page with the form

To go back to the standard layout, open the builder again and choose ⋯ → Remove custom layout. Messages sent through the form arrive under Messages.

The home page. In Settings you can choose one of your pages as the home page. Give that page its own layout (hero banner, columns, latest posts…) and it becomes your home page design.

The slider: several banners in a row

A Slider shows one slide at a time, like a row of hero banners. Visitors move between the slides with the arrows, the dots or by swiping, and the slides can also change by themselves.

Adding a slider

  1. Slider in the palette. A new slider has three slides, each with a heading, a line of text and a button, like a hero banner.
  2. The slides in the panel. Rename a slide in its field (the name is shown here and read out by screen readers), press ✎ to open it, ↑ ↓ to move it and ✕ to delete it. + Add slide adds one more (up to 12).
  3. A slide on the page. The builder shows one slide at a time: the one you are editing. Press ✎ in the panel, click a slide's name above the slider, or click a block in a slide, and the page switches to that slide. Click any block in it to change it, and add more blocks (pictures, columns…) the way you would in any container.

To give a slide a picture, select the slide (press ✎, or click it in Layers), open its Design tab and choose a background picture, as for a hero banner. The slide's Darken image setting keeps the text readable.

A slide can also play a video behind its blocks. Select the slide, press File… next to Background video to upload or choose an .mp4 or .webm file (or paste a link to one). The video plays while the slide is shown, and the slider waits for it to end before moving on when slides change automatically. Browsers only allow a video to start without sound, so it starts silent; a button at the bottom right of the slide turns the sound on and off, unless you untick Sound button on the video.

The slider's own settings are the minimum height, Change slides automatically with the seconds per slide, Show arrows and Show dots.

The slider on the site

On the site the slides change by themselves, but stop while the pointer or the keyboard focus is on the slider, while it is off screen and when the visitor presses the pause button at the bottom right. If a visitor's device asks for less motion, the slides do not change by themselves at all. The arrow keys also move between the slides.

The marquee: a line that keeps moving

The Marquee block shows a line of words or pictures that moves sideways all the time: slogans, news, partners or customer logos.

Adding a marquee

  1. Marquee in the palette (in Content).
  2. Its settings: choose whether it Shows words (one per line, with a sign between them) or pictures (with a height), the Space between them, the Seconds for one round, which way it Moves, whether it Stops when pointed at and whether it has Soft edges. The Design tab styles the words or the pictures on their own.
  3. The marquee on the canvas. In the builder it moves only while it is selected. Visitors who prefer less motion see the words or pictures standing still.

All blocks

Layout

Block What it does
Section A full-width band that holds other blocks. Use it for backgrounds and spacing.
Columns Places blocks next to each other (up to 12 units wide in total). On a phone the columns stack.

Content

Block What it does
Heading A title or subtitle. Choose the level (H1–H6) and alignment.
Text Rich text, written with the same editor as posts.
Image A picture from the media library, with an optional link, caption, shape and Open large on click.
Button A link styled as a button (solid, outline or text only). Can link to a file: use File… next to the link field. A link to a PDF opens it in a viewer on the page, unless Open in a new tab is ticked.
Hero banner A large banner with a heading, text and button. Add a background picture in the Design tab.
Card A picture, a title, a text and a button in a box. Put cards inside Columns to place them side by side. Also available as a pricing card.
Icon & text An icon with a title and a short description, for services, benefits and steps.
Accordion / FAQ Questions that open to show the answer. Each answer can hold other blocks.
Gallery A grid of pictures. Clicking one can open it large.
Video A YouTube or Vimeo video, or a direct link to a video file.
Contact form A form whose messages arrive under Messages.
Tabs Content in tabs; the visitor opens one at a time.
Slider A banner that shows one slide at a time, like a row of hero banners, with arrows, dots and optional automatic change. See The slider.
Quote A quote or review with the name, role, photo and star rating.
Numbers Big figures with labels, such as “120+ clients”, that count up when scrolled into view.
List A list with bullets, ticks or numbers.
Badge A small label such as “New” or “-20%”.
Marquee A line of words or pictures that moves sideways all the time. See The marquee.
Donate Invites visitors to support you: amounts, a donation button, more payment methods (one extra button each) and bank transfer details with copy buttons. Bank details can be switched off with Show bank transfer details.
Map An embedded map of an address or place.
Countdown Counts down to a date and time.
Code A block of code, shown as written, with an optional copy button.
Spacer Empty vertical space.
Divider A horizontal line.

Site

Block What it does
Social links A row of icons that link to your profiles. The network is recognised from the address.
Breadcrumbs Shows where the visitor is: Home › Category › Post.
Site title The site name, or a logo, linking to the home page.
Tagline The tagline from Settings.
Menu A list of links to your pages and other addresses, each opening in the same tab, a new tab or a pop-up, with drop-down submenus.
Search box A search form.
Footer text The footer text from Settings, or your own text.
Language switcher Links to the other languages of the site (see Languages).

Post / page (only in the Post and Page templates and in a page's own layout)

Block What it does
Title The title of the post or page.
Date, author & category The byline of a post.
Featured image The featured image.
Content The body written in the editor.
Tags The tags of the post.

Archive (only in Home & archives)

Block What it does
Archive heading The category name, the search term or the author, with a description.
Post list Cards for the posts of the current archive, or the latest posts anywhere (as a list or a grid).
Pagination The Newer / Older links.
Categories A list of categories.

Tips