SharePoint 2019 Custom Theme

Walid Gharwal 1 Reputation point
2024-01-23T02:35:18.3266667+00:00

Hello, In SharePoint Online, there is a way to add a custom theme via Add-SPOTheme command. There is also a way to hide default themes by running Set-SPOHideDefaultThemes command.
How can we add a custom theme to SharePoint 2019 on-prem farm and also how can we hide all default themes from the on-prem farm? Thank you, WG

Microsoft 365 and Office SharePoint Server For business
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,471 Reputation points Microsoft External Staff
    2024-01-23T07:11:07.13+00:00

    Hi @Walid Gharwal,

    There is no such powershell script support to deploy a custom theme on SharePoint 2019. SharePoint Site Design and Scripts are only available in Office 365 modern UI. It's not available in SharePoint 2019 on premise version.

    See note in this URL: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview

    In SharePoint 2019 on-premise changing and applying of themes are quite same as SharePoint 2013 on-premise versions.

    Please check below URLs for the same:

    ---If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.