MCF User Guide

Layout blocks

Layout blocks shape how a page looks. Use them for large banners at the top of a page, for side-by-side columns, for long content split into tabs, and for slideshows and picture grids.

The Add to blocks menu with the Layout category open, listing its blocks
The Layout category in the block picker. Blocks for features your site doesn't use only appear once that feature is switched on.

To add a block to a page, see Adding blocks.

The blocks in the Layout category are:

A slideshow of pictures that moves on by itself. Each slide can have a heading, a line of text and a button. It pauses while a visitor points at it or uses the keyboard inside it.

The Carousel block on the website, using sample content
How the Carousel block can look on your website. Your colours and content will differ.

Slides

Select Add Slide for each picture. A carousel needs at least one slide. Use the arrows to change their order.

SettingWhat it does
ImagePick the picture from the Media Library. Required.
Or enter an image URLThe web address of a picture held elsewhere. The Media Library picture is used if both are set.
Heading and Sub-headingOptional words shown on the slide.
Call-to-Action Text and Call-to-Action URLAn optional button. It only appears when you fill in both. The address can be a full one or a page on your site such as /contact.

Colours & Overlays

This section starts closed. Its settings apply to every slide.

SettingWhat it does
Text ColourThe colour of the words and the button outline. White by default.
Image Overlay Colour and Image Overlay OpacityTints the picture so it doesn't compete with the words. Black at Light (40%) by default.
Card Background Colour and Card Background OpacityA see-through panel directly behind the words. Black at Light (40%) by default. The Contrast check (text on card) badge shows whether the words are easy to read.

Behaviour

This section also starts closed.

SettingWhat it does
Slide AnimationSlide (horizontal), the default, Fade or None (instant).
Time Between SlidesFrom 3 seconds to 10 seconds. 5 seconds is the default.
Carousel HeightSmall (300px), Medium (450px), the default, Large (600px) or Extra Large (75vh).
Auto-playOn by default. Turn it off so slides only change when the visitor chooses.
Show Prev/Next Arrows and Show Slide DotsBoth on by default. They only appear when there is more than one slide.

Columns

Places two, three or four columns side by side. Each column holds its own blocks. On a phone the columns stack one above another.

The Columns block on the website, using sample content
How the Columns block can look on your website. Your colours and content will differ.
SettingWhat it does
Block titleOptional. A name to help you find this block in the page builder. Visitors don't see it.
Number of Columns2 columns, 3 columns or 4 columns. The default is 2.
Column WidthsOnly shown for 2 columns. Choose Equal, the default, or a split such as 33% / 67%. Three or four columns are always equal widths.
Gap Between ColumnsThe space between columns, from Small (0.5rem) to Extra Large (3rem). Medium (1rem) is the default.
Vertical AlignmentHow shorter columns line up: Top, the default, Middle, Bottom or Stretch (equal height).
Column 1 to Column 4Add the blocks for each column here. Only as many appear as you chose in Number of Columns.
Which blocks can go in a column

A column can hold almost any block, including lists such as News, Events, Notices and Councillors. These blocks can't be added inside a column:

  • Columns and Tabbed Content Section (a column can't hold another set of columns or sections)
  • Hero Banner, Rotating Hero and Emergency Notice, which are banners across the whole page
  • Planning Applications, Virtual Tour, Search and Contact Form, which are built to fill a whole page

Blocks for a feature your council hasn't switched on don't appear, the same as in the main block list. In a narrow column, lists show one item per row with the picture above the text.

Reducing the number of columns

If you change from 3 columns to 2, the blocks in Column 3 are hidden from the page. They aren't shown to visitors, but they come back if you switch to 3 columns again. Move anything you want to keep before you reduce the number.

Tabbed Content Section

The tidiest way to present long, multi-part content, such as allotment rules or grant guidance. Each section has its own title and its own blocks. Visitors open one section at a time, or open and close them like an accordion.

The Tabbed Content Section block on the website, using sample content
How the Tabbed Content Section block can look on your website. Your colours and content will differ.
SettingWhat it does
HeadingA heading for the whole block.
Show HeadingOff by default. Turn it on to show the heading above the sections. When it is off, screen readers still get the heading.
Start with all sections closedOff by default. When on, no section opens until the visitor chooses one. Applies to every layout.
LayoutTabs (classic), the default, Tile grid (icon tiles + panel below), List + panel (side by side) or Accordion. The first three show one section at a time. The accordion shows every section closed, ready to open.
List position and List widthOnly for List + panel (side by side). Put the list on the Left or Right, and choose how wide it is, from 25% (narrow) to 50% (even split). 33% (default) is the default.
SectionsAdd one section for each topic. Drag them into order.

Each section

SettingWhat it does
Section TitleThe wording on the tab, tile or list item. Required.
IconOptional. A Font Awesome icon name, such as fas fa-users.
Tab ColourOptional. Uses your site's main colour if you leave it blank.
Section ContentThe blocks shown in this section. A new section starts with an empty Rich Text block. You can add the same blocks as in a column.

Hero Banner

A large banner across the top of the page. It shows a heading, an optional line of text and an optional button, on a solid colour or a background picture.

The Hero Banner block on the website, using sample content
How the Hero Banner block can look on your website. Your colours and content will differ.
SettingWhat it does
HeadingThe main words on the banner. Required.
SubheadingA shorter line of text under the heading.
Show heading & subheading on the bannerOn by default. Turn it off when the picture already has words in it. Screen readers and search engines still get the heading.

Colours

SettingWhat it does
Background ColourThe banner colour when there is no background picture. Dark blue by default.
Text ColourThe colour of the heading and subheading. White by default. The button uses this colour too.
Show Bottom BorderAdds a coloured line along the bottom of the banner. Pick its colour in Border Colour.

Background Image

This section starts closed. Its settings only take effect when you set a background picture.

SettingWhat it does
Background Image and Image alt textPick the picture from the Media Library. The alt text fills in from the Media Library. Change it if a different description suits this banner.
Or enter an image URLThe web address of a picture held elsewhere. If you also pick a Media Library picture, that one is used.
Image FitCover (fill, crop edges) is the default. Contain (fit whole image) shows the whole picture with the background colour behind it. Stretch to fill stretches it to the banner's shape.
Image PositionWhich part of the picture stays in view, such as Centre, Top or Bottom Left. Choose Custom offset... to type your own value in Custom Position, for example 50% 30%.
Image Overlay OpacityTints the whole picture with the background colour so the words stand out. Runs from None (no overlay), the default, to Very Strong (85%).
Caption Card Colour and Caption Card OpacityA see-through panel directly behind the words. It is off by default (None (no panel)). Turn it up to make the words easier to read without darkening the whole picture.
Caption Card PositionWhere the words and button sit on the banner, such as Top left or Middle centre. Middle centre is the default.

Call to Action

SettingWhat it does
Button TextThe words on the button.
Button URLWhere the button goes. Use a full address such as https://example.com or a page on your site such as /contact.

The button only appears when you fill in both Button Text and Button URL.

Contrast checks

The Contrast check (text on background) and Contrast check (text on caption card) badges show whether your text colour is easy to read. Pick another colour if a badge doesn't pass.

Tip: avoid two headings

When a hero banner is the first block on a page, turn off Show Page Title in the page's settings. Otherwise the page title appears above the banner as well. See Page settings.

A grid of pictures. Visitors can select a picture to see it larger, and move through the others from there.

The Image Gallery block on the website, using sample content
How the Image Gallery block can look on your website. Your colours and content will differ.
SettingWhat it does
Gallery HeadingA heading above the gallery.
Show HeadingOn by default. When it is off, screen readers still get the heading.
ColumnsHow many pictures across, from 2 columns to 5 columns. 4 columns is the default.
Gap Between ImagesSmall (4px), Medium (8px), the default, or Large (16px).
Show Image Titles BelowOn by default. Shows each picture's title under it.
Gallery ImagesSelect Add Image for each picture. Each one has an Image, picked from the Media Library and required, and an optional Title / Caption.
Tip: set alt text in the Media Library

The gallery uses each picture's alt text from the Media Library. If a picture has none, it uses the Title / Caption instead. Add alt text in the Media Library so every picture is described.

Rotating Hero

A hero banner whose picture changes by itself. It looks the same as the Hero Banner. The picture comes from a Media Library folder instead of a single image, so adding a photo to the folder adds it to the banner.

The Rotating Hero block on the website, using sample content
How the Rotating Hero block can look on your website. The picture changes by itself from the chosen folder. Your colours and content will differ.

It has the same Heading, Subheading, Colours and Call to Action settings as the Hero Banner. The picture settings are in the Rotating background section.

Rotating background

SettingWhat it does
Image folderThe Media Library folder to take pictures from. Every picture in it joins the rotation. Other files in the folder are ignored. Required.
Change imageHow often the picture changes: On every page load (random), Daily, Weekly or Monthly. Weekly is the default. With daily, weekly or monthly, every visitor sees the same picture for that period.
Image Fit, Image Position, overlay and caption card settingsThe same as in the Hero Banner's Background Image section. They apply to whichever picture is showing.
An empty folder

If the folder has no pictures in it, the banner shows the plain Background Colour instead.

Tip: preview a future day

To see which image a daily, weekly or monthly banner will show on another date, add ?hero_preview=YYYY-MM-DD to the page address while signed in to the admin panel. The banner shows that date's image with a "Preview" note. Visitors always see today's image.