I want a lot of customization for my site. Hence I need to create Custom master page and custom Page Layouts for my team site. But I read a few articles which say it would not be a good practice to create Custom master page and page layouts Sharepoint online since microsoft might give updates and stuff will break. So what would be the recommended approach for customizing a site in Sharepoint online?


In SharePoint Online, For Modern experience, you can use SharePoint Framework (SPFx) for customization. Using SPFx you can create:

  1. Web-parts.
  2. Extensions (You can use Application customizer to add header and footer on page).

Also, you can create Modern site pages and select different layouts according to your requirements.


  1. Customizing the "modern" experiences in SharePoint Online.
  2. Customizing "modern" team sites.
  3. Customizing "modern" site pages.
  4. Customizing "modern" lists and libraries.

However for Classic experience, you can customize the master page and create your own custom page layouts. But, as you already know that this is not a good practice and Microsoft will not provide support for this.

  • 1
    I would like to second this. Master page customizations in O356 are not a good idea at all. Changes to the farm are pushed out weekly and will set values back to default when done. Since this is online, you will never know when updates will be done. Changing the base layout of the master page will cause nothing but issues with online SharePoint. You can try to make local changes with custom CSS overrides stored in the Style Library also. – lazoDev Aug 19 at 14:59
  • Hi, does this answers your question? If yes, please accept it as an answer. – Ganesh Sanap Aug 23 at 6:35

There are a few way to customize a SharePoint and it all depends on what you want to accomplish.

First of all. If you are using the Modern view of SharePoint you can't customize the master page nor the page layouts. Neither can you edit the css. You can do theming and site designs though. For custom snippets you can use SPFx to add things like header and footer also custom web parts.

If you are using the classic experience you can do a custom master page but Microsoft will not support it. You will have to maintain it yourself. Custom page layouts are supported. Custom Web Parts are supported and you can use SPFx web parts on the classic experience.

If you do not want to customize the master page I'd utilize the alternate css method.

Good luck, cheers!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.