Skip to main content Skip to footer


Learning Centre

News Feed

You can imbed a news feed directly onto any content page in Govstack so users can view a list of recent news articles. Learn how to add a news feed to a page and adjust its content and display options.

Before you can add a news feed to a content page, you need to set up a news category using the news and alerts feature in Govstack.

Add a news feed

To add a news feed to a page, you need to:

  1. Navigate to the page you'd like to add a news feed 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 the 'News Feed' component

Next, you can customize the content and display options for the news feed.

Customize the content and display options

You can customize the content and appearance of the news feed by completing the following content and display details.

You can choose what news categories and articles to display in your news feed. To do this, you need to:

  1. Select the 'Content' tab in the news feed component
  2. Next to 'Categories', select 'Add' and then check off the news categories you want to include in the news feed. After you have selected your categories, click 'Submit'
  3. Next to 'Latest Count', enter the number of latest published articles you want to display in the news feed
  4. Next to 'Heading', add what heading you would like to appear at the top of the news feed
  5. Next to 'View all Text', add the text that you want users to click on to view all the news feed items in another window
  6. Next to 'View All Link', you can add a link to the full news feed so users can view all news articles. Select 'Add', and then enter the URL to the news feed page and click 'Submit'
  7. Next to 'Featured Article', select 'Add' and then choose which news article you want to be displayed as the feature article on the news feed. This step is optional.

You can customize how the news feed is displayed on the page. To do this, you need to:

  1. Select the 'Display' tab in the news feed component
  2. Turn on or off the 'Display Description' toggle to indicate whether or not you want to display news article descriptions in the news feed
  3. Turn on or off the 'Display Categories' toggle to indicate whether or not you want to include the associated category for each news article in the news feed
  4. Turn on or off the 'Display Published Date' toggle to indicate whether or not you want to show when each news article was published
  5. Turn on or off the 'Display Featured Item With Image' toggle to indicate whether or not you want the featured news article you chose to appear more prominently beside the feed with its associated image
  6. Turn on or off the 'Display Image' toggle to indicate whether or not you want to display each news article's image in the news feed
  7. Turn on or off the 'Display Authors' toggle to indicate whether or not you want to display the author of each news article in the news feed
  8. Turn on or off the 'Display Line Divider' toggle to indicate whether or not you want to have a line divider between each new article in the news feed

News feed settings

You can adjust the look and layout of your news feed through the settings tab. To access the news feed settings, select the 'Settings' tab located at the top of the 'News Feed' slide-out panel.

Review each of the news feed settings to learn more.

You can customize the content colours of the news feed using the colours that are part of your website design. Depending on your website design, you can add a coloured background behind the news feed 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 news feed. 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.

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

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 news feed 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 the news feed, including:

  • Spacing
  • Visibility
  • Design

Spacing

You can remove the spacing around the news feed 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 news feed. 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 news feed:

  • Show shadows - this will add a shadow effect to the accordion
  • Sticky - the news feed 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 news feed 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