How can I add a banner (pop-up) to our Intranet on Microsoft Sharepoint?

Ilascikova, Kamila 0 Reputation points
2024-05-23T09:42:15.0966667+00:00

Dear team,

can you please advise how to add a banner with important messages on our Intranet (on MS Sharepoint)? This would be used for our main page, but maybe also on other pages.

Thank you!

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,300 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 44,311 Reputation points Microsoft Vendor
    2024-05-24T08:29:07.1866667+00:00

    For SharePoint server and SharePoint online classic site, you could codes provided by following articles to add a pop-up banner.

    References:

    https://www.sharepointdiary.com/2019/04/add-notification-to-sharepoint-top-banner-using-powershell.html

    https://www.c-sharpcorner.com/article/site-notification-banner/

    For SharePoint online modern site, you should develop a SPFx web part to add a pop-up banner.

    Reference:

    https://github.com/bschlintz/spfx-message-banner

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.