Customize modern UI in SharePoint OnPrem

Mahadev Prasad 81 Reputation points

Hi all,

I have SharePoint 2019, created couple of modern sites in our farm. I wanted to customize modern UI what are the best practices for SharePoint On-Prem? I know we can inject the css and js but I wanted to know any other alternative or standard method for same?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,297 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,897 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 18,361 Reputation points Microsoft Vendor

    Hi @Mahadev Prasad ,

    To brand and customize modern site in SharePoint, please refer to below articles:

    The best practice to I think to customize modern UI is to inject JS and CSS files into a SharePoint Modern page is using SPFx Application Customizer:



    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.