Skip to main content Skip to footer


Learning Centre

Windows

The Windows component is a grid layout tool that lets you create customized collages for image or video-based calls to action. Windows can include links, images, videos, blocks of text or combinations of these, such as a button link over an image or text over an image.

Add a Windows component

To add a Windows component to a page, you need to:

  1. Navigate to the page you'd like to add windows to
  2. Select the 'Add content' button under the 'Main content' area of the page 'Content' tab
  3. This will open the 'Add content' slide-out panel
  4. From here, select the 'Windows' component
  5. Under the 'Content' section, select 'Add content' next to 'Window items'
  6. You will now have the option to add image or video windows

Complete the image and video details

Depending on your preference, you can choose to add image windows, video windows or both to your page. Learn how to create and customize image and video windows.

Before you can add an image to a Windows component, you need to upload the image to the 'Media' area in the Govstack back office. 

To add an image window, select 'Image' from the slide-out panel. Then, in the 'Content' tab:

  1. Upload an image from your Media library by selecting the "+" icon next to the 'Image' field. From here, choose the folder that contains the image you'd like to add and select the image
  2. If you would like to have text overlay the image, add any combination of a heading, subheading and text in each applicable field. Choose the heading level or font size for the text
  3. If you would like the image to link somewhere, add a button in the 'Button' field. This will overlay a button on the image. If you want to hide the button, so that users can just click on the image itself rather than an overlaid button, turn on the 'Hide button' toggle

Image settings

Once you have created your image window in the 'Content' tab, move to the 'Settings' tab to adjust the image window settings.

Colour overlay

In the 'Background Colour' setting, you can choose a colour to overlay over your image. Turn on the 'Add colour overlay' toggle below if you would like to use this setting. Any text you added to the window will be placed over top the colour overlay. This can help improve the colour contrast of text over your image and can be potentially more accessible for users with colourblindness or low vision.

Text alignment and position

In the 'Text alignment' setting, select whether you want any overlaid text to be left aligned, centred or right aligned. In the 'Text position' setting, select where on the image you want the text to appear.

A video window lets users view the embedded video directly on the web page. Before you can add a video to a Windows component, you need to upload the video to the 'Media' area in the backend of Govstack.

To add a video window, select 'Video' from the slide-out panel. Then, in the 'Content' tab:

  1. Select the video source
  2. If you are using a video from YouTube or Vimeo, copy and paste the link URL to the video in the 'Video' field
  3. You can also upload your own MP4 video file from your Media library by selecting the "+" icon next to the 'Video' field. From here, choose the folder that contains the video you'd like to add and select the video
  4. In the 'Image' section, upload an image from your Media library to use as a thumbnail for the video window. Do this by selecting the "+" icon next to the 'Image' field. From here, choose the folder that contains the image you'd like to add and select the image
  5. In the 'Light window title' field, add any text you want to appear above the video when users open it to view
  6. In the 'Light window footer' field, add any text you want to appear below the video when users open it to view

Video settings

Once you have created your video window in the 'Content' tab, move to the 'Settings' tab to adjust the video window settings.

In the 'Background Colour' setting, you can choose a colour to overlay over your video thumbnail. Turn on the 'Add colour overlay' toggle below if you would like to use this setting.

Window settings

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

Review each of the Windows settings to learn more.

Add a unique name for the Windows component in the 'Name' field. This will make it easier to identify this specific Windows component in the back office of Govstack, especially if you have more than one Windows component on a page.

In the 'Image order' setting, select how you would like to arrange the windows on your page. You can choose which window will appear first and how many windows per row you would like. It may be helpful to preview different layouts to find one you like.

Turn on the 'Remove item spacing' toggle if you would like to remove spaces between the windows.

Turn on the 'Enable random order' toggle if you would like the image order to be randomized every time a user visits the web page.

You can customize the content colours of the windows using the colours that are part of your website design. Depending on your website design, you can add a coloured background behind the windows. 

Colour options

The colour options are 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.

If you'd like, you can add an image to the background of your windows. To do this, you need to:

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

Background image options

You can also set a few options for a background image, including the placement of the image, size of the image and whether or not the image repeats. We recommend testing out the different options until you find the one you like the best.

This setting only applies if you are using a page with a 'Full' page layout. Typically full page layouts are reserved for the home page of your website or any landing pages you've created.

If you are adding windows to a page with a 'Full' page layout, select the width of the page you would like the windows to cover.

You can add animation to the windows 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)

Animation style

From the 'Animation style' dropdown menu, select the type of animation you'd like to add to the windows. 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.

Animation delay

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

Animation duration

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

You can create an anchor link that will link a user to this specific part of the content page. If you'd like to create an anchor link to the windows in the future, you can add a unique name in the 'Anchor name' field. 

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. 

You can select additional styles for the windows, including:

  • Spacing
  • Visibility
  • Design

Spacing

You can remove the spacing around the windows 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 windows. 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 windows:

  • Show shadows - this will add a shadow effect to the windows
  • Sticky - the windows 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 windows to your page, make sure to preview and publish the page to complete the process.