Skip to content

Commit fec4351

Browse files
Merge pull request SharePoint#5386 from KoenZomers/patch-20
Small textual changes to SP Site Theming article
2 parents db01e54 + 3a4b859 commit fec4351

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

docs/declarative-customization/site-theming/sharepoint-site-theming-overview.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,36 +67,34 @@ For the simplest experience, we recommend that you use modern themes with modern
6767

6868
The modern site theming experience has been rolled out to classic site templates, too. While the new client-side theming architecture is more performant, if you have customizations on classic sites 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. Please note, this opt-out only applies to classic sites where you have custom theme references that aren't rendering properly. By enabling this site-level opt-out you will disable the modern theming - and also lose the fast theming benefits it provides.
6969

70-
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:
70+
To do this, you must use a Windows PowerShell script with a CSOM (client-side object model) wrapper. We recommend using the PnP PowerShell enable feature command:
7171

7272
1. Verify that you meet the following minimum requirements:
73-
* You are a global administrator.
74-
* You have read about [Execution Policies](https://technet.microsoft.com/library/dd347641.aspx).
73+
* You are at least a site collection owner on the site where you want to disable modern site themes
74+
* You have read about [Execution Policies](https://technet.microsoft.com/library/dd347641.aspx)
7575

7676
2. Download the latest PnP PowerShell from https://github.com/SharePoint/PnP-PowerShell/releases.
7777

78-
3. Enter `Connect-PnPOnline -Url <SiteUrl> -Credentials getCredentials` (replacing `<SiteUrl>` with the url of the site you wish to opt out of).
78+
3. Enter `Connect-PnPOnline -Url <SiteUrl> -UseWebLogin` (replacing `<SiteUrl>` with the url of the site you wish to opt out of).
7979

8080
4. Enter your credentials when prompted.
8181

8282
5. To opt out of the site, you need to enable a feature:
8383

84-
* Enter `Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B`
84+
* Enter `Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B`
8585
* Verify that nothing is returned from the previous command (this confirms the feature isn’t enabled yet)
86-
* Enter `Enable-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B`
87-
* Enter `Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B`
86+
* Enter `Enable-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B`
87+
* Enter `Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B`
8888

8989
6. Verify that the following is returned:
9090

9191
`ClientSideThemingOptOut - 5138468e-3d76-4f72-9de4-e029f1245a7b`
9292

93-
7. For more information about Windows PowerShell, see [PowerShell](https://docs.microsoft.com/powershell/scripting/powershell-scripting?view=powershell-6).
93+
For more information about Windows PowerShell, see [PowerShell](https://docs.microsoft.com/powershell/scripting/powershell-scripting?view=powershell-6).
9494

9595
## See also
9696

9797
* [SharePoint site theming: JSON schema](sharepoint-site-theming-json-schema.md)
9898
* [SharePoint site theming: PowerShell cmdlets](sharepoint-site-theming-powershell.md)
9999
* [SharePoint site theming: CSOM API](sharepoint-site-theming-csom.md)
100100
* [SharePoint site theming: REST API](sharepoint-site-theming-rest-api.md)
101-
102-

0 commit comments

Comments
 (0)