SharePoint theme applied to sitepages but not to webpart page

Athulya Pillai 46 Reputation points

Hello Team,

Theme applied in SharePoint Online Team Site is seen in SitePages but not in Web part Page.
Can we apply /inherit the theme in Webpart Page
We want a solution is there any webpart similar to content editor webpart in Sitepages


A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,173 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yi Lu_MSFT 17,366 Reputation points

    Hi @Athulya Pillai
    Currently we could not apply /inherit the theme in Webpart Page, this is by design.

    Two web parts that are not available in SharePoint for Microsoft 365 modern pages are the Script editor web part and the Content editor web part. However, there are modern out-of-the-box web parts that can fulfill some of the same purposes. Or, you can create custom web parts or migrate your existing script editor web parts to the SharePoint Framework.
    For more information, you could refer to:

    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.