Skip to main content Skip to footer


Learning Centre

Split Components

Split Components provide a two-column grid layout where you can  display a variety of different content components on a page, including:

Split Components also allow you to define the order of the content boxes on desktop and mobile displays.

Add split components

To add split components to a page, you need to:

  1. Navigate to the page you'd like to add split components 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 'Split Components' 
  5. Under the 'Content' section, there will now be an area to add content to each split section
  6. Select 'Add content' next to 'Split section 1'
  7. Choose the content component you would like to add to that section and follow the instructions for adding a component
  8. Repeat the process of adding a component and adjusting its settings for 'Split section 2'

Split component settings

After adding components to each split section and adjusting their settings, you can adjust the settings of the split component itself to change its look and layout.

To access the settings, select the 'Settings' tab located at the top of the 'Split Components' slide-out panel.

Review each of the split component settings to learn more.

In the 'Name' field you can give a unique name to the Split Component. This will make it easier to differentiate between Split Components if you have multiple on the same page. 

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.

This setting defines the order in which your split components will display on a desktop or tablet device. Typically, a desktop or tablet will place the two components side by side. Choose whether you'd like the first component (1) to appear to the left of the second component (2), or vice versa.

This setting defines the order in which your split components will display on a mobile phone screen. Typically, a mobile phone screen will stack the two components rather than having them appear side by side. Choose whether you'd like the first component (1) to appear above the second component (2), or vice versa.

You can customize the content colours of the split component using the colours that are part of your website design. Depending on your website design, you can add a coloured background behind the split component to create a hot spot on the page. 

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 a split component. 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 

Please note

Adding an image behind text 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. 

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 split components to a page with a 'Full' page layout, choose how much of the screen width you'd like the components to occupy.

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 split component 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 split components, including:

  • Spacing
  • Visibility
  • Design

Spacing

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

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

Visibility

You can customize the visibility of split components. 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 split components:

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