logo
search
SharePoint Document Issues

How to Add a Scrolling Alert Bar to a SharePoint Wiki Page

Bushra ParveenBushra Parveen Sep 30, 2026 869 views

Question details

The user wants to add a scrolling alert bar to a SharePoint wiki page but is unable to find the Content Editor and Script Editor web parts.

How to Add a Scrolling Alert Bar to a SharePoint Wiki Page
Product
SharePoint Online
Device & OS
not provided
Scenario
Attempting to insert custom HTML or scripts to create a scrolling alert bar on a SharePoint wiki page.
Observed behavior
The Content Editor and Script Editor web parts are completely missing or unavailable from the Insert Web Part menu.
Before you start

Verify whether your site uses classic SharePoint wiki pages or modern SharePoint pages, as the classic Script Editor web part is not natively supported on modern pages.

Solution 1Recommended

Enable Custom Scripting and Publishing Features

Activate the necessary backend settings and publishing features to make the Content Editor and Script Editor web parts visible on classic SharePoint pages.

In SharePoint, security settings disable custom scripts by default. To use the Content Editor or Script Editor web parts for your scrolling alert bar, you must manually enable custom scripting at the site level and activate the required publishing features.

1
Enable Custom Script

Log in to the SharePoint admin center and enable custom script at the site level for your specific SharePoint site URL.

2
Activate Site Collection Feature

Navigate to your site, click the gear icon to open 'Site Settings', select 'Site Collection Features', and click 'Activate' next to the 'SharePoint Server Publishing Infrastructure' feature.

3
Activate Site Feature

Go back to 'Site Settings', select 'Manage Site Features', and click 'Activate' next to the 'SharePoint Server Publishing' feature.

4
Insert the Web Part

Return to your classic wiki page, click 'Edit', go to 'Insert' > 'Web Part', and select the Script Editor or Content Editor to embed your scrolling alert bar code.

Enable Custom Scripting and Publishing Features
Modern SharePoint Page Compatibility: If you are using modern SharePoint pages, these classic web parts will remain unavailable. You will need to use a custom SharePoint Framework (SPFx) Script Editor web part instead.
Free Microsoft Office alternative

Enhance Your Document Workflow with WPS Office

While resolving your SharePoint site configuration, consider WPS Office as a free, lightweight, and user-friendly alternative for managing your everyday documents, spreadsheets, and presentations.

  1. 1. Download the Software: Visit the official WPS Office website and click the free download button.
  2. 2. Install WPS Office: Run the installer package and follow the brief on-screen instructions to set up the software.
  3. 3. Edit Your Documents: Open WPS Office and start editing your .docx, .xlsx, and .pptx files with perfect formatting preservation.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Seamlessly open and edit documents downloaded from your SharePoint libraries.Lightweight design ensuring fast startup and smooth operation.Familiar user interface for an effortless transition with zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why are the Content Editor and Script Editor web parts missing in SharePoint?

These web parts are hidden by default when custom scripting is disabled for security reasons, or if the necessary SharePoint Server Publishing features have not been activated on your site collection.

Can I use the Script Editor web part on modern SharePoint pages?

No, modern SharePoint pages do not support the classic Script Editor web part natively. To inject custom scripts on a modern page, you must deploy a custom SharePoint Framework (SPFx) web part.

Do I need administrator permissions to enable custom scripts?

Yes, enabling custom scripting and activating site collection publishing features requires SharePoint Administrator or Site Collection Administrator permissions.