Skip to main content Skip to footer


Learning Centre

Banners

You can add a banner to any content page to add a design element and create a hot spot on the page. Banners are a great way to communicate important information that you don't want users to miss. Learn how to add a Banner component and review each of the settings.

Add a banner

To add a banner component to a content page, you need to:

  1. Navigate to the page you'd like to add a banner to
  2. Select the 'Extra content' tab 
  3. From here select "Add content" in the "Above main content" section
  4. This will open the 'Add content' slide-out panel
  5. From here, select the "Banners" component
  6. This will open the "Banners" slide-out panel
  7. Select the "Add Banner" button to add a banner

This will open the "Content" tab of the "Banner" component.

Complete the banner details

Depending on your preference, you can choose to add an image or video banner to your page. You can customize the banner by completing the following banner details.

If you'd like the banner to appear as an image on the page, you can:

  1. Select the '+' icon next to the 'Image' field
  2. This will open the 'Media' folder
  3. From here, choose the folder that contains the image you'd like to add to the text area
  4. Select the image you'd like to insert
  5. Press the 'Select' button 

This will add the image to the banner. You can continue to add a heading, text and settings to the banner, or if you'd just like to display an image, select the 'Create' button to complete the process. 

You may want to add a video to the banner. There are three types of video formats that you can add in a banner.

YouTube video

If you'd like to insert a YouTube video into the banner, you need to:

  1. Select the 'YouTube' icon from the 'Video source' field
  2. This will open a 'Video' field
  3. Paste the URL website address for the YouTube video in the 'Video' field

Vimeo video

If you'd like to insert a Vimeo video into the banner, you need to:

  1. Select the 'Vimeo' icon from the 'Video source' field
  2. This will open a 'Video' field
  3. Paste the URL website address for the Vimeo video in the 'Video' field

MP4 video file

If you'd like to add an original MP4 video file that isn't hosted on YouTube or Vimeo, you can upload the video to Govstack and insert the video into the banner. To do this, you need to:

  1. Select the 'MP4' icon from the 'Video source' field
  2. This will open the 'Media' folder
  3. From here, choose the folder that contains the video you'd like to add to the text area
  4. Select the video you'd like to insert
  5. Press the 'Select' button to add the video

This will add the video to the banner. You can continue to add a heading, text and settings to the banner, or if you'd just like to display a video, select the 'Create' button to complete the process. 

If you'd like you can add a heading to a banner image or video. The heading will display over the image or video. If you'd like to add a heading, you need to:

  1. Add the heading text in the 'Heading' field
  2. Select the appropriate heading tag or style 

You can also choose to add a secondary heading by adding text to the 'Secondary Heading' field. 

You can choose to insert additional text that will display underneath the heading and over the banner image or video. This text can be used to provide additional instructions or context that accompanies the heading. 

To add text, you can insert content into the 'Text' field provided in the banner slide-out panel.

You can also add a button to a banner. This will allow users to select a link and navigate to:

  1. A different page on your website
  2. Another website
  3. A document that you've added to the media folder in Govstack

To add a button to a banner, you need to select the 'Add' button next to the 'Button' field. Then you can style the button and add a link. You can customize the button by:

  • Selecting the colour for the button
  • Adding an icon to the button
  • Changing the size of the button

To add the link to the button, select the 'Add Link'  button and insert the link.

Banner settings

You can adjust the look and layout of the banner through the banner settings tab. To access the banner settings, select the 'Settings' tab located at the top of the 'Banner' slide-out panel.

From the 'Banner' settings tab, you can customize the look and style of the banner. 

Review each of the banner settings to learn more. 

Design and layout

Select the 'Enable random order' toggle if you want the order of your banner images and videos to be randomized every time a user visits the page.

Select the 'Show arrows' toggle if you'd like to display arrows on the banner to indicate there are additional images or videos.

Select the 'Show dots' toggle if you'd like to display dots on the banner to indicate that there are multiple photos or videos in the banner.

Use the 'Auto rotate speed' slider to change the speed that the banner images will rotate. The speed is displayed in seconds.

Advanced

In the 'Name' field you can give a unique name to the component. This will make it easier to differentiate between components, both on your page as well as in your clipboard.

You can create an anchor link that will link a user directly to the top of this component. 

When linking to this page add the anchor to the "Anchor / querystring" field in the "Select link" dialogue box. The link will then jump to the top of the target component rather than to the top of the page.

Note that anchor names are case sensitive. For best results use lowercase characters, numbers, and dashes only. Avoid spaces and special characters.

In the 'Custom classes' field, you can add any custom CSS classes you may have. Custom CSS classes can be found in the Design node under the 'CSS' tab in the backend of Govstack. 

If you'd like to add more than one custom class, you'll need to leave a space between each class. 

Please note

Depending on your Govstack plan, you may not be able to access the Design node in the backend. If you'd like to be able to add custom CSS and get access to the website design, contact your GHD Digital Account Executive.

We cannot guarantee that future updates to Govstack will not break or negatively impact custom CSS.

You can select additional styles to the component, including:

  • Spacing
  • Visibility
  • Design

Spacing

You can remove the spacing around the component by selecting one of the following options:

  • Remove spacing
  • Remove spacing top only
  • Remove spacing bottom only

Visibility

You can customize the visibility of the component. Select one of the following options:

  • Hide on all screens
  • Hide on extra small screens
  • Hide on small screens
  • Hide on medium screens
  • Hide on large screens
  • Hide on extra large screens

Design

Select one of the following options if you'd like to customize the design of the component:

  • Show shadows - this will add a shadow effect to the component. Note that by default most Govstack websites do not have shadows. You can add these in the Design node
  • Sticky - the component will stay on the screen even as users scroll down the page

Turn on the 'Hide from website' toggle if you'd like to hide this component from the web page.

You can also adjust the settings for each banner item. To do this, select the banner item you'd like to customize from the 'Banner' slide-out panel and then select the 'Settings' tab.

Review each of the banner item settings.

Design and Layout

Instead of adding an image or video to a banner, you can create a  banner using a background colour. In the 'Background Colour' field, select the colour you'd like to use for the banner. Choose the 'Submit' button to update the settings.

Colour options

The colour options will be based on the design of your website. You may be able to change the design colours depending on your Govstack plan. To get access to the website design features, speak with your GHD Digital Account Executive.

There are four different banner styles that you can choose from. These styles will customize the size and shape of the banner. You can select one of the following options:

  • Takeover - Fills the screen, excluding the menu bar
  • Medium - Fills approximately half the screen height. Results may vary slightly based on the header height
  • Short - Fills about 30% of the screen 
  • Scale - Scales the image for fit. This option should be used in mobile applications only. On desktop banners the image may scroll for multiple screens

Once you've select the banner style, press the 'Submit' button to update the style.

Parallax is available on Takeover, Medium, and Short banner styles.

The 'Text alignment' field allows you to choose the alignment for any content that you add to the banner. This includes, headings, subheadings and text.

You can choose one of the following text alignments:

  • Left
  • Centre
  • Right

As a best practice, we recommend keeping text left aligned or centred rather than right aligned. 

Text position

You can customize the position of the text on the banner, using the 'text position' field. Select the option you'd like. For example, you can choose to position the text in the centre of the banner, at the top of the banner, at the bottom of the banner, etc.

Select the 'Add colour overlay' toggle if you'd like to add a semitransparent block of the background colour over the banner image. 

Select the 'Scroll prompt' toggle if you'd like to add a scroll prompt to the banner. The scroll prompt will let users know that they can keep scrolling down the page to find more content.

If you choose to add a scroll prompt to the banner, you can select one of the following styles from the 'Scroll prompt style' field:

  • Arrow - places a small arrow at the bottom of the banner to indicate that users can scroll for more information
  • Wheel - places a mouse icon on the banner to indicate that users can scroll for more information
  • Line - places a vertical line on the banner to indicate that users can scroll for more information

Parallax fixes the banner image to the background so that it does not scroll as the site scrolls. Instead it appears that the website scrolls past the image.

Parallax is available on Takeover, Medium, and Short banner styles only.

Animation

You can add animation to the component by selecting the 'Animate' toggle. Once the 'Animate' toggle is selected, you'll have the option to customize the:

  • Animation style
  • Animation delay (seconds)
  • Animation duration (seconds)

From the 'Animation style' dropdown menu, select the type of animation you'd like to add to the accordion. There are a variety of different animation options in the following categories:

  • Attention Seekers
  • Bouncing Entrances
  • Fading Entrances
  • Flippers
  • Light Speed
  • Rotating Entrances
  • Sliding Entrances
  • Zoom Entrances
  • Specials

We recommend testing out a variety of animation styles to select the one you like the most. 

Please note

Animation styles can cause accessibility issues for some users visiting your website. For example, some users may experience motion sickness when viewing animated elements on your website.

Using the 'Animation delay' slider select the time in seconds that you'd like to delay the animation. 

Please note

Animation delay can cause accessibility issues for some users visiting your website. Certain animation styles and delays can combine to make your animated component invisible to screen readers. Please test your animations to make sure they are accessible.

You can select how long you'd like the animation to last on the component by using the 'Animation duration' slider. Select the number of seconds you'd like the animation to continue on the public website. 

Advanced

In the 'Name' field you can give a unique name to the component. This will make it easier to differentiate between components, both on your page as well as in your clipboard.

You can create an anchor link that will link a user directly to the top of this component. 

When linking to this page add the anchor to the "Anchor / querystring" field in the "Select link" dialogue box. The link will then jump to the top of the target component rather than to the top of the page.

Note that anchor names are case sensitive. For best results use lowercase characters, numbers, and dashes only. Avoid spaces and special characters.

In the 'Custom classes' field, you can add any custom CSS classes you may have. Custom CSS classes can be found in the Design node under the 'CSS' tab in the backend of Govstack. 

If you'd like to add more than one custom class, you'll need to leave a space between each class. 

Please note

Depending on your Govstack plan, you may not be able to access the Design node in the backend. If you'd like to be able to add custom CSS and get access to the website design, contact your GHD Digital Account Executive.

We cannot guarantee that future updates to Govstack will not break or negatively impact custom CSS.

You can select additional styles to the component, including:

  • Spacing
  • Visibility
  • Design

Spacing

You can remove the spacing around the component by selecting one of the following options:

  • Remove spacing
  • Remove spacing top only
  • Remove spacing bottom only

Visibility

You can customize the visibility of the component. Select one of the following options:

  • Hide on all screens
  • Hide on extra small screens
  • Hide on small screens
  • Hide on medium screens
  • Hide on large screens
  • Hide on extra large screens

Design

Select one of the following options if you'd like to customize the design of the component:

  • Show shadows - this will add a shadow effect to the component. Note that by default most Govstack websites do not have shadows. You can add these in the Design node
  • Sticky - the component will stay on the screen even as users scroll down the page

Turn on the 'Hide from website' toggle if you'd like to hide this component from the web page.

Preview and publish changes

Once you've added a banner to your page, make sure to preview and publish the page to complete the process.