Forum Discussion
SharePoint customization
We are using SharePoint Online portal in our organization and it use as some customizations with CSS .sometimes the portal home page is loading with corrupted format .we need to adjust the CSS to be in correct format . Is there any fixed solution for this ?
Customization is applied to the organizational level .Whichever the site we create it inherit the same CSS .
femina1970 How you have applied custom CSS to SharePoint sites, using SPFx application customizer?
If yes and you have original code used to develop SPFx application customizer, you can update the source code as per your requirements and redeploy the solution with correct CSS.
Check: How can I include the same JS and CSS files on multiple SharePoint Modern Page?
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
- femina1970Copper Contributor
ganeshsanap Thanks for your reply . Customization has done with SPFX .I need to exclude the new SharePoint Sites when creating from the above customization .when i am creating new SharePoint Site it inherit the above customization and I would like to stop that.
femina1970 You have to edit source code of your SPFx solution:
- Change value of skipFeatureDeployment property in ./config/package-solution.json file to false
- Re-package the solution
- Deploy/Update the solution in tenant level app catalog.
Follow below documentation for more information:
- Tenant-scoped solution deployment for SharePoint Framework solutions
- Deploy your extension to SharePoint (Hello World part 3)
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs