Skip to main content Skip to footer


Learning Centre

Sitemap

The Sitemap component allows you to add a single-column sitemap to a web page. You can add the full sitemap for your website, or select only a portion of the sitemap to display. Each page listed in the sitemap will link off to that page in your website.

Add a Sitemap component

To add a Sitemap component to your page, you need to:

  1. Navigate to the page you'd like to add the Sitemap component to
  2. Under the 'Content' tab, select the 'Add content' button alongside the 'Main content' area. This will open the 'Add content' slide-out panel
  3. Select the 'Sitemap' component. This will open the 'Sitemap' slide-out panel
  4. Select the 'Add' button beside the 'Sitemap start page' area
  5. Select the page you'd like to start your sitemap. This page and all pages found underneath it on the sitemap will be pulled into the single-column sitemap on your page

For example, if you select the home page as the 'Sitemap start page' all pages on your website will appear in the sitemap. If you select the one of the main vertical menus as the 'Sitemap start page' only the pages that appear below that menu will display in your sitemap.

Sitemap settings

You can adjust the look and layout of the sitemap through the sitemap's 'Settings' tab, located at the top of the 'Sitemap' slide-out panel.

Review each of the available settings to learn more.

In the 'Name' field, you can name your Sitemap component. This name appears as a label for your sitemap when working in the Govstack back office. Naming your components helps you differentiate between the sections of content on your page.

By selecting the 'Include protected pages' toggle to 'Yes', you can include any members-only or internal/secure pages of the website on the produced sitemap.

By selecting the 'Hide start page' toggle to 'Yes', you can choose to not display the starting page of your produced sitemap on your page.

Depending on your organization's brand colours within Govstack's settings, you may be able to add and change the component's content colours. Select the appropriate colour scheme you would like to add for your sitemap. You can de-select an option by selecting it again.

The Sitemap component allows you to a background image in various different formats. Ensure your image does not interfere with the readability of the sitemap and that your sitemap's colour contrast is appropriate with the colour(s) of your chosen image.

To insert a 'Background image', follow these steps:

  1. In the 'Background image' field, select the square box, which will bring up a slide-out panel of the media available in your Govstack back office.
  2. Search the image's file name in the search bar, select the image and click 'Select'. To search within your available folders, select the written name of the folder to view its contents. Avoid selecting the image of the folder itself, as that will not open your folder.
  3. Select the image you would like to use, then click 'Select'.
  4. Your image is ready to be set as the background image. To edit your image's size and positioning, select the pencil icon of the image you just selected. In the new slide-out menu, you can position, crop and zoom the image for your component by clicking and dragging the image in the editor box. Click and drag the slider bar to zoom your image in and out. 
  5. Select 'Reset crop' to reset the crop back to its original display and select 'Undo edits' to undo the progress you made with your chosen image.
  6. You may also re-name your background image in the text field at the top of the page.
  7. Add alternative text to the image in the 'Alternative text' field below the picture's dimensions near the bottom of the editing page.
  8. Select 'Done' when you are happy with your image, then 'Save and close'. 

With 'Background image options', you can position your background image for your sitemap.

  • The 'Cover' option positions your full image to cover the entire component.
  • The 'Full-Width' option positions your entire image to be displayed behind your component from one horizontal end of the image to the other.
  • The 'Auto' option allows the CMS to choose for itself the best positioning for the image. This may involve zooming in or out of the image, or repeating the image.
  • The "Repeat' option positions your image to be repeated both horizontally and vertically behind the component.
  • The 'Repeat Horizontal' option positions your image to be repeated across the component only horizontally if the image is small enough.
  • The 'Repeat Vertical' option positions your image to be repeated only vertically across the component if the image is small enough. 

You can also manually position your image to the centre, far corners, left, right, top and bottom of the component by selecting the centre or arrow icons next to the positioning options. This will either position your single image to the direction you choose under your component, or position the area of the component that the image will be repeated.

Select your image option again to de-select the option if it is already highlighted.

If you have chosen a 'Full' page layout, you can choose where on the page your sitemap is placed by selecting one of the following width options.

  • The 'Centre' option positions your sitemap directly in the centre of your page, with white space bordering the left and right.
  • The 'Wide' option positions your sitemap to be aligned under the page's title, and stretching across more of the page horizontally, still leaving white space to the left of the content and to the right.
  • The 'Full' option positions your sitemap across the entirety of the page, leaving no white space to the left or right of your content.

Select the width option again if it is already selected to de-select the option.

You can add animation to the sitemap 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 sitemap. 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 sitemap by using the 'Animation duration' slider. Select the number of seconds you'd like the animation to continue on the public website. 

To allow users to link right to this page's sitemap, you can create a unique URL with the 'Anchor name' setting.

To create this unique URL, insert the text you would like to add to the end of the page URL in the 'Anchor name' field. Typically, this is the topic or heading name of your component. Any spaces in your 'Anchor name' will be converted to an underscore: _.

In the 'Custom classes' field, you can add any custom CSS classes you may have. Find custom CSS classes in the Design node under the 'CSS' tab in the back office of Govstack.

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 sitemap, including:

  • Spacing
  • Visibility
  • Design

Spacing

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

  • Show shadows - this will add a shadow effect to the sitemap
  • Sticky - the sitemap will stay on the screen even as users scroll down the page

By selecting the 'Hide from website' toggle, you can choose to hide the sitemap from all users viewing your web page. The sitemap will still be available in the back office of your website and can be identified as hidden by a greyed out look with an icon of an eye with a cross through it.

Select the toggle again to have the component re-appear on the page for all website viewers.

Preview and publish changes

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