Highlight Content Box

Data elements

This Content Type generates a shaded block which can contain a combination of optional elements - an image, a video, a heading and/or some body text.

The Name field is (as always) for internal use only, to describe the content, and should adhere to the naming convention of all lowercase, no special characters, hyphens (-) instead of spaces: e.g. highlight-content-name

The optional Heading field generates a short heading of larger text within the Content Box, under the image or video.

The optional Image field allows you to select a photo or other image from the Media Library. We'd recommend a square image here (proportions 1:1) of width and height 200 pixels. Or if the Widen tile checkbox is checked then use an image of 200 pixels high and 370 pixels wide.

The optional Link will surround any Image and Heading and can be either:

  • Internal - to an available T4 Section or Content Item
  • External - to another web page
  • Media File - to a media item (image or document) in the Media Library

Keep Use Default Link Text ticked.

Video summary and YouTube video ID should be entered similarly to the One-Web Video Embed Content Type. If entries are made here, an embedded video will generate and the box will widen to accommodate it.

Main body contains any text needed, including links. This field is restricted in size.

Alternate colours allows you to change the colour of the box to white text on a purple background.

Widen tile when checked will force the box to be double width, even if there is no video embedded.

Guidance on usage

This Content Type is quite flexible in terms of optional elements, so use judgement to avoid cluttering an item with too much content.

While the Highlight Box will accommodate multiple elements of content, it's unlikely all will be needed - for example either an image or a video but not both.

Multiple Highlight Box content items will line up beside each other, and wrap onto a new line on certain screen width views. The line height will depend on the box with the longest content.