How to customize SharePoint master page header in SharePoint Online.

Rajashekar Reddy Kethireddy 1 Reputation point
2020-08-04T21:03:22.76+00:00

Hello All,

I wanted to display a custom message (above top navigation bar) in SharePoint Online master page header. How can i do it using SharePoint designer, or can I do it using a powershell command?

Thanks.

Microsoft 365 and Office SharePoint For business Windows
Microsoft 365 and Office SharePoint Server Development
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Baker Kong-MSFT 3,801 Reputation points
    2020-08-05T02:31:06.553+00:00

    Hi RajashekarReddyKethireddy-3620,

    You can add the message in SharePoint Designer like below:

    15596-image.png

    Result:

    15643-image.png

    More references:

    Best Regards,
    Baker Kong


  2. Rajashekar Reddy Kethireddy 1 Reputation point
    2020-08-07T15:50:01.507+00:00

    Hi Baker,

    Could you please confirm if that master page is from SharePoint Online? I didn't find the tag <div id="ms-designer-ribbon"> through out the seattle.master page when I opened my SharePoint Online Site in the Designer. can you please let me know the place where we can add custom message, so that it should reflect across all the the site pages in SharePoint team site.

    Thanks,
    Rajashekar

    0 comments No comments

  3. 杨建宇 86 Reputation points MVP
    2021-02-20T07:39:53.667+00:00

    You can do it in SharePoint Designer if your page is classic ui.
    And you can do it with SharePoint SPFx if your page is modern ui.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.