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.

Design and layout

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.

These settings will be available only if the component is contained within a split component.

Using the 'Column Width' sliders you can set the width of the component in split components. The slider allows for column widths from 1 to 12. A minimum width of 2 is recommended.

The total width settings for 'Split Section 1' and 'Split Section 2' should equal 12. If the sum of 'Split Section 1' and 'Split Section 2' is greater than 12, your split content will appear on two rows.

Separate options are available for desktop and tablet size screens. On mobile screens split components switch to a single column.

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 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

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.

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 sitemap to your page, make sure to preview and publish the page to complete the process.