How to Create a Rotating Banner in SharePoint Online?

Requirement: Create an image slider in SharePoint Online.

How to create a Rotating Banner in SharePoint Online?

Rotating banners or image carousels are the best way to display multiple banners in one portion of the page and rotate them automatically at fixed time intervals. Usually, placed on the home page of the sites. In SharePoint world, We can rotate multiple pages on the home page and drag the user’s attention. In the past, we have used JavaScript/jQuery methods, content search web part, 3rd part web parts, etc. to achieve sliding banners in SharePoint.

Now, in modern SharePoint Online, it’s a relatively easy task to implement scrolling banners. All you need to do is:

  1. Create news pages for the banner content.
  2. Edit your home page (or any modern page), Add “News” web part to the page
  3. Configure the web part properties to get the news pages and set the web part layout to “Carousel”. rotating banner in sharepoint online
  4. Optionally set other parameters such as the number of news posts to show, Automatically cycle news, Seconds between each slide.
  5. Save and publish the page.

Here is the News web part with Carousel layout:

add rotating banner in sharepoint online

How to Create Multiple News Carousels or Display Selective Pages in the News Web Part?

The above web part simply displays all available news pages in the selected site in News web part. However, there are times you may want to selectively display specific news pages in the news web part or display one slider for each category. So, here is the trick:

  • Navigate to your “Site Pages” library from “Site Contents”
  • Create a new column in the site pages library, let’s call it as “Category”. Set the dropdown values as per your requirement.sharepoint online news carousel web part
  • Now, Edit the news pages, and under “Page Details”, You’ll see this category dropdown field. Classify the value accordingly.
  • Finally, on the News web part properties, under the “Filters” section – Set the filter as “Page Properties” and select the property as “Category” (The one you had created on Site Pages library!), and set the filter value as per your requirement.sharepoint online scrolling banner

Here is how the multiple news carousels look like on a single page:

SharePoint Online image carousel

Last but not least: If you want to display just image carousel instead of clickable text banners, use: “Image Gallery Web Part”. Highlighted content web part has a carousel layout.

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply