how to remove ExternalClass which is automatically added in SitePage css in sharePoint 2016 site page

Shamshad Alam 1 Reputation point
2021-03-10T10:49:55.2+00:00

Hi, Recently my SharePoint 2016 site page design has been changed, when i checked i found everywhere an ExternalClass which is automatically added in SitePage CSS, even i did not do anything with my page for a long time. How its happen and how to resolve this issue. Plz suggest. Thanks Shamshad Alam

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,422 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,633 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amos Wu-MSFT 4,051 Reputation points
    2021-03-11T02:39:36.087+00:00

    You could try to use jQuery to remove the ExternalClass.
    Simple code for your reference:76543-code.txt
    This is just a workaround, and more importantly, find the reason why these ExternalClass appear.


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.