Feature Banner

module_feature_banner

The feature banner module displays a full-width image banner in a subpage layout page. It is activated by adding the tag module_feature_banner to a published basic subpage and one of the supported layout tags:

The module only renders when one of these layout tags is present.

#Data Mappings

Page field Displayed as
Image attachments Every image attachment becomes a slide in an automatic carousel. Slides change every five seconds.
Headline, basic content and excerpt Not used by this module.

If no image attachments are present, no carousel is rendered and the banner media uses the theme's black background.

layout:believe-in-maori

This layout displays the image carousel above a red campaign strip. The campaign message is hardcoded as Believe in you | Believe in me | Believe in Māori, with the hardcoded white Te Pāti Māori logo displayed beside it.

Images fill the media area and are cropped to cover the responsive banner height. On small screens, the campaign message and logo stack vertically.

layout:authorised-statement

This layout displays the image carousel with a dark gradient footer over the bottom of the image. The authorised statement and email link are hardcoded as Authorised by L. Norman, [email protected], and the hardcoded white Te Pāti Māori logo appears alongside it.

The authorised footer is positioned over the image, so choose images with enough contrast and clear space near the bottom for the statement and logo.