PigmentDocumentation

Campaign

A photograph and a short text on a flat panel: the story of a season or of a launch.

WhereAny template. Not available in the header or footer group.

Campaign with a photo and a short heading, on a desktop screenCampaign with a photo and a short heading, on a phone
Campaign: the photo, then the text on Paper.

What it is for

Between the hero and the products, a campaign gives the range a context: a photo, a heading of a few words, two or three sentences, a link and the credit of the photograph.

How it works

Image position (desktop) puts the photo left or right; Image position (mobile) above or below the text. Surface paints the text panel in the Paper, Field or Deep of the page color. The photo settles once, with a slow zoom, when the section comes into view; without JavaScript or with reduced motion it is at rest. Without a photo, its half keeps Shopify's placeholder drawing, in the colors of the section, until you choose one.

On a product page, Campaign tells the story of each product: connect the image, the heading, the text and the credit to product metafields with the dynamic source icon, and the section wears the colors of the product. With Hide when the image is empty on (the default), a product whose image metafield is not filled does not show the section on your store; the theme editor shows a note instead. Elsewhere an empty image keeps its placeholder. The demo's product template connects it to custom.story_image, custom.story_heading and custom.story_text, after Texture.

Content tips

  • Keep the heading short: it is set very large, a few words per line.
  • Credit the photographer in Credit.
  • Use Anchor to link to the section from a menu (for example /#campaign).
  • On the product template, create the three story metafields (see Metafields) and fill them only for the products that have a story: the others do not show the section.

Settings

Section settings (13)
SettingValuesDefaultNotes
ImageImageEmpty
Hide when the image is emptyCheckboxOnOn a product page, the section is not shown when its image is empty, for example a product metafield that is not filled. Elsewhere, an empty image keeps its placeholder.
Image position (desktop)
  • Left
  • Right
Left
Image position (mobile)
  • Top
  • Bottom
Top
HeadingTextName the campaign
TextRich textDescribe the campaign in two or three sentences: what it is, and...
Button labelTextView the campaign
LinkLinkEmpty
CreditTextCredit the photograph in one short line
AnchorTextEmptyLowercase words joined by hyphens. Link to this section with #anchor, for example from a menu.
Surface
  • Paper
  • Field
  • Deep
Paper
Minimum height (desktop)50 to 100 svh, step 292 svh
Photo height (mobile)30 to 90 svh, step 262 svh