Skip to main content Skip to footer


Learning Centre

Text/Image

The Text/Image component lets you create an image-based call-to-action along with headings and text that you can place above, below, next to or over top of the image. It also allows you to add hidden buttons over top of the component so that the component itself can act as a button.

The Text/Image component is only available within the Pods component.

Add a Text/Image component to a pod

To add a Text/Image component to a Pod component in Govstack, you need to:

  1. Navigate to the page you'd like to add a Text/Image component to
  2. Add a Pod component
  3. This will open the 'Pods' slide-out panel
  4. To add a Text/Image component to the pod, select the 'Add content' button next to the 'Pod items' field
  5. This will open the 'Add content' slide-out panel
  6. From here, select the 'Text/Image' component

You can continue to add other content components to the Pod and configure the Pod settings so you're happy with the look and layout of the content.

Complete the text/image details

From the 'Text/Image' slide-out panel you can fill in the following details.

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

To add an image to the Text/Image component, you need to:

  1. Select the '+' icon next to the 'Image' field 
  2. This will open the 'Media' area in Govstack
  3. Select the folder that contains the image you'd like to add
  4. Choose the image you'd like to add
  5. Click the 'Select' button

The "Text" part of the Text/Image component includes a heading, subheading and text.

Add a main heading to the 'Heading' field and, if you'd like, a subheading to the 'subheading' field. Choose the size of your heading(s), from small (S), medium (M) or large (L). When you preview your page, you can see how the size you chose looks.

Add any other text in the 'Text' field.

You can add a button to the Text/Image component to link to another page on your website, a document or an external web page.

You can choose to make your button visible or hidden. Visible buttons appear as traditional buttons on the Text/Image component. If you use a hidden button, the Text/Image component itself will act as a button, allowing users to click anywhere on the component to open the link. To hide a button, turn on the 'Hide button' toggle.

Text/Image component settings

Adjust the Text/Image component settings to change the look and layout of your pods. To access the settings, select the 'Settings' tab located at the top of the 'Text/Image' slide-out panel.

Review each of the text/image settings to learn more.

In the 'Name' field you can give a unique name to the Text/Image component. This will make it easier to differentiate between components  if you have multiple in the same pod. 

When working in the back office you'll see a list of all components on a page and the names will help differentiate between similar components.

Next to 'Text position', choose where you would like the headings and text to appear in relation to the image. Text can be placed above or below the image, to the right or left of the image or overlaid on the image.

Please note

Overlaying text on an image can cause colour contrast issues for users with low vision or colour blindness. You should only add an image behind text if it meets the colour contrast ratio requirements associated with accessibility legislation in your region.

You can add a background colour which will appear behind the Text/Image component in the pod.

To do this, turn on the 'Add background colour' toggle. Next, choose which background colour you would like to use from the options next to 'Background colour'. 

Next to 'Text alignment', select whether you'd like the headings and text in the Text/Image component to be left-aligned, centered or right-aligned.

We recommend always left-aligning text as this is the most accessible for users with reading comprehension challenges.

In the 'Image style' setting, you can choose which shape you want the image to be.

If you select 'Original', then your image will appear with its original ratios on the page.

You can also select one of the ratio options. The first number in each ratio represents the width while the second number represents the height. For example, a 2:1 image would be twice as wide as it is high.

If your image is cropped oddly or doesn't look the way you want it to after adjusting the image style, you may need to change its focal point so that it crops properly when changing the image ratio. Learn how to change the focal point of an image in the 'Media' tab in the Govstack main menu.

After you select an image style in the 'Image style' settings, your image will automatically be cropped to match your selection. However, you may prefer to have your image retain its original ratios while still having a different ratio display. To do this, turn on the 'Box pad' toggle to add padding around the image to match the image style you have selected.

You can add animation to the Text/Image 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)

Animation style

From the 'Animation style' dropdown menu, select the type of animation you'd like to add to the Text/Image component. 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 Text/Image component by using the 'Animation duration' slider. Select the number of seconds you'd like the animation to continue on the public website. 

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 Govstack back office. 

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 back office. If you'd like to be able to add custom CSS and get access to the website design, contact your GHD Digital Account Executive. 

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 Text/Image component to your pod, make sure to preview and publish the page to complete the process.