You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/declarative-customization/site-theming/sharepoint-site-theming-overview.md
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,35 @@ When you select a classic theme, a modern theme will be generated from the setti
54
54
55
55
For the simplest experience, we recommend that you use modern themes with modern pages. If you need to use classic themes with modern pages, test your site carefully to verify that your content is readable and accessible.
56
56
57
+
## Change the default experience at the site collection level by using Windows PowerShell (for administrators)
58
+
59
+
While the new client-side theming architecture is more performant, if you have customizations that aren’t rendering properly after you change the site’s theme you can opt the site out of the new theming experience by disabling the feature.
60
+
61
+
To do this you must use a Windows PowerShell script with a CSOM (Client-side object model) wrapper. We recommend using the PnP enable feature command:
62
+
63
+
1. Verify that you meet the following minimum requirements:
64
+
* You are a global administrator
65
+
* You must read about [Execution Policies](https://technet.microsoft.com/library/dd347641.aspx)
66
+
67
+
1. Download the latest PnP PowerShell from https://github.com/SharePoint/PnP-PowerShell/releases
68
+
69
+
1. Enter `Connect-PnPOnline -Url <SiteUrl> -Credentials getCredentials`(replacing `<SiteUrl>` with the url of the site you wish to opt out)
70
+
71
+
1. Enter your credentials when prompted.
72
+
73
+
1. To opt-out the site you need to enable a feature:
74
+
75
+
* Enter `“Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B”`
76
+
* Verify that nothing is returned from the previous command (this confirms the feature isn’t enabled yet)
77
+
* Enter `“Enable-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B”`
78
+
* Enter `“Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B”`
1. For additional information about Windows PowerShell, see [Using Windows PowerShell](https://msdn.microsoft.com/powershell/scripting/getting-started/fundamental/using-windows-powershell).
85
+
57
86
## See also
58
87
59
88
*[Change the look of your SharePoint site](https://support.office.com/en-us/article/Change-the-look-of-your-SharePoint-site-06bbadc3-6b04-4a60-9d14-894f6a170818?ui=en-US&rs=en-US&ad=US#ID0EAACAAA=Online)
0 commit comments