Forum Discussion
How to correctly avoid getting "The current page has been customized from its template"
We are using Sharepoint Online and wish to apply our own CSS in the Site Pages and Wiki Pages. We understand that changes to the Master page is not recommended!
We have tried to modify Site Pages and Wiki Pages directly, but then we get a message in the page "The current page has been customized from its template. Revert to template." which is visible to all users
What is the template that is mentioned?
How to correctly apply our own styling/CSS to the pages?
Thank you in advance for any ideas :)
John
- To me the answer here is to use JavaScript / CSS injection pattern...but only with the classic UI. With the new UI we still need to know / learn how to do it
5 Replies
- Deleted
try this in powershell
Get-SPOSite <SiteURL>|select DenyAddAndCustomizePages
- to see if its enabled. if enabled, run this:
Set-SPOSite <SiteURL> -DenyAddAndCustomizePages 0
- DeletedYou could this using jslink or do it via the sitesettings and select a css file. Which file is ghosted you have to check with SharePoint Designer.
- To me the answer here is to use JavaScript / CSS injection pattern...but only with the classic UI. With the new UI we still need to know / learn how to do it
- Deleted
if you want to remove the message from modern sites use the powershell I provided. This was given to me from MS support and it works.