Can I change files in the sharepoint \ LAYOUTS \ folder?

Toriyama 251 Reputation points
2021-03-12T15:43:56.403+00:00

Hello,

I know we shouldn't and I have never done this before, but something came up that I need to do, change a color in a .css file in the \ LAYOUTS \ folder and the context of the current solution does not allow me to change this color in a simple way otherwise not be messing with the color source file.

I believe it will not impact anything, but I am still looking for information about this change.

Can I go on with this?

Thanks

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
1,797 questions
0 comments No comments
{count} votes

Accepted answer
  1. Allen Xu_MSFT 13,576 Reputation points
    2021-03-15T07:07:39.44+00:00

    Hi @Toriyama ,

    Is this .CSS file created by yourself or an OOTB one in the \LAYOUTS\ folder? If it is created by yourself, you can change it as you like. I would suggest you don't change it if it is an OOTB file as we don't know other files related to it and whether it will have impacts you don't want on SharePoint.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.


0 additional answers

Sort by: Most helpful