Select the 'Hide search' toggle to hide the search bar from your 'Search/Links' sub-component.
Learning Centre
Search/Links
The 'Search/Links' sub-component allows you to insert a search bar and subsequent list of links into a pod.
The search bar allows users to search for content within your website. Below the search bar, you can also insert a list of links that direct users to:
- Other pages on your website
- Documents that you have uploaded to Govstack
- External links outside your website.
When adding links, make sure the link titles describe where the user is being taken for improved web accessibility.
Please Note
The 'Search/Links' component works with the default Govstack search functions only. If your website uses Google Programmable Search Engines, Cludo, or catalogue searches please use the 'Search/Links Advanced' component.
Add a Search/Links sub-component
To add a 'Search/Links' sub-component, you must:
- Navigate to the page you would like to add a 'Search/Links' sub-component
- Add a 'Pod' component. This will open the 'Pods' slide-out panel
- Select the 'Add content' button next to the 'Pod items' field. this will open the 'Add content' slide-out panel
- Select the 'Search/Links' component. This will open the 'Search/Links' slide-out panel
- Enter your 'Search/Links' heading. This will be the heading for your sub-component that sits above your search bar and list of links. Then select the size you would like your heading to be - small (S), medium (M), or large (L)
- If you would like a secondary heading, enter it in the 'Secondary heading' field, along with its size
- To insert a link, select the 'Add' button beside the 'Links' field
- Select the 'Add Link' button that appears
- Insert your link details in the 'Select link' slide-out panel. You may link to another page within your website, to a document you have previously uploaded to Govstack, or to an external link outside your website.
- Select 'Submit' when you are finished the link
- If you would like to add another link to your list, repeat steps 7 through 10
- If you would like to delete a link that you have added, select the trash can icon beside the link you wish to delete, then select 'Yes, delete'
- Select 'Submit' when you are finished. Then select 'Submit' in your pod's slide-out panel
You can continue to add other sub-components to your pod and configure your pod's settings so you're happy with the look and layout of the content.
Search/Links settings
You can adjust the look and layout of your 'Search/Links' sub-component through the 'Settings' tab, found at the top of the 'Search/Links' slide-out panel.
Review each of the 'Search/Links' settings to learn more.
Design and layout
Add the link to the search results page. If no link is selected search results will be displayed using the default search results page selected in the site's Global node.
Select the colour you'd like for the search button. You can select from a list of pre-determined colours based on your organization's branding. A checkmark will signify your chosen option.
If you would like to unselect an option, click the colour button once more for the checkmark to disappear.
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 create an anchor link that will link a user directly to the top of this component.
When linking to this page add the anchor to the "Anchor / querystring" field in the "Select link" dialogue box. The link will then jump to the top of the target component rather than to the top of the page.
Note that anchor names are case sensitive. For best results use lowercase characters, numbers, and dashes only. Avoid spaces and special characters.
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.
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
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 'Search/Links' sub-component to your page, make sure to preview and publish the page to complete the process.
Contact Us
GHD Digital Support
Primary +1-866-691-5528
Secondary +1-519-884-2476
Submit Online
Need Help?