Campaign Pages & Templates

Give a campaign's site a distinct visual layout with opt-in page templates, and build extra pages from composable CMS sections – including an embedded social feed.

Overview

By default, every campaign site uses PurposeTech's standard layout – jobs, shifts, and the signup flow presented in the standard theme. Two optional layers let you go further without writing custom CSS:

  • Page templates – apply a patterned, campaign-specific visual treatment (header band, split hero, alternating content bands) on top of the standard layout
  • CMS page sections – compose extra full-width pages (landing pages, "how it works" explainers, FAQs) from reusable content blocks

Both are opt-in. A campaign that doesn't use either keeps the standard layout.

Neither layer has a settings screen in the admin portal today. Your PurposeTech contact sets them up with you.

Page templates

Turn on a page template to give a campaign's site a more editorial, branded look – a full-width header band with a title card, a split hero panel with a photo, alternating content bands down the page, and tinted sections to break up the layout.

Page templates are opt-in per campaign. They are stored as a pageTemplate entry in the campaign's style data, alongside the settings behind your colour and CSS overrides. Campaigns that don't set a template are unaffected.

Enabling a template

The Custom Styles screens in the admin portal do not include fields for pageTemplate, so your PurposeTech contact adds it to the campaign's style data for you.

Every value is checked before it is used. Colours must be hex, rgb() or hsl() values, image addresses must start with https://, and heights must be a number with a unit (px, rem, em, vh or %). An invalid value is ignored, so a typo can show the wrong colour but cannot break the page.

Header band

A full-width, patterned band at the top of the page with a title card layered on top:

FieldWhat it controlsNotes
headerBand.imageUrlBackground image for the band, tiled across it horizontallyMust be an https:// URL
headerBand.backgroundColorFallback / underlying colourShows while the image loads, or if none is set
headerBand.titleBackgroundColorBackground behind the title card
headerBand.titleColorTitle text colour
headerBand.minHeightMinimum height of the bande.g. 320px

Split hero

An alternative to the header band – a two-panel hero with a copy panel on one side and a photo on a patterned band on the other:

FieldWhat it controls
heroVariant: "split"Enables the split hero layout
heroPanelColorBackground colour of the copy panel
heroPanelTextColorText colour on the copy panel
heroImageOverlayColorColour overlay applied on top of the hero photo

Content bands & tinted sections

Below the hero, page content can alternate between full-width bands to create visual rhythm:

FieldWhat it controls
sectionTintColorBackground tint applied to alternating sections
cardImageFitHow home-page card images fit – "cover" (fill the space, cropping if needed; the default) or "contain" (show the whole image)

Use "cover" for photography-led campaigns where a consistent card size matters more than showing the whole image. Use "contain" for logos, diagrams, or images where cropping would cut something important off.

CMS page sections

Beyond the standard sign-up site, a campaign can have additional full-width pages – an "About" page, a sponsor page, an FAQ page. These pages are written in the content management system connected to your campaign (Contentful), not in the admin portal.

A page is an ordered list of sections, each with its own type:

Section typeWhat it's for
BannerA full-width banner with a heading, short message and an optional button – good for a page intro or a call to action
Icon stepsA grid of steps, each with an image, title and description – e.g. "Sign up · Pick a shift · Show up"
Image + textAn image alongside a block of copy, with a choice of image side and shape
FAQAn accordion of question-and-answer pairs
Social feedAn embedded feed of social media posts – see Social feed embed below

Each section can sit on a white, tinted or brand-colour background. The tint colour comes from sectionTintColor in the page template. A section with a type PurposeTech does not recognise is skipped rather than shown broken.

Ask your PurposeTech contact to help build a new page. Once the structure is in place, updating the copy, images and order of sections is straightforward.

Social feed embed

Show a wall of social media posts on your campaign's home page, pulled in through a Curator.io feed. You need your own Curator.io feed, and PurposeTech needs its feed ID and container ID.

Configuration

Set the following on the campaign's home page content:

FieldWhat it controls
socialFeed.feedIdThe Curator.io feed ID (a UUID)
socialFeed.containerIdThe Curator.io container ID for that feed
socialFeed.heightThe height of the embedded feed (920 if not set)
socialFeedTitleHeading shown above the feed
socialFeedBodyShort intro copy shown above the feed

The feed renders in a sandboxed iframe loaded from a separate address, so it can't read the rest of your campaign page. If the feed ID or container ID is missing or malformed, nothing is shown.

The same social feed block is also available as a Social feed section (see above) if you want it on a page other than the home page.

Next steps

Signed-in customers can ask questions about the docs. Log in