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. They are usually placed on the sites’ home page. 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, it’s a relatively easy task to implement scrolling banners in modern SharePoint Online. 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 just displays all available news pages in the selected site in the News web part. However, there are times you may want to display specific news pages selectively 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

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

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published.