Fix SharePoint Button Not Scrolling to a Page Section
Question details
Users need to restore or implement the ability for a button on a SharePoint page to scroll down to a specific lower section.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Clicking a button designed to jump to a lower page section on a customized SharePoint site.
- Observed behavior
- Clicking the button has no effect, failing to scroll users to the intended section containing custom images or links.
Verify whether your site is running on SharePoint Online or SharePoint Server, as native features and custom scripting support vary significantly between the two environments.
Use Native Anchor Links Instead of Buttons
SharePoint Online does not provide an out-of-the-box scroll button, so using native heading anchor links is the most reliable workaround.
Since modern SharePoint Online pages do not include a standard button web part specifically mapped for section scrolling, relying on built-in heading anchors guarantees stability without requiring custom code.
Navigate to the lower section of your SharePoint page, add a Text web part, type a descriptive title, and format it as a Heading (Heading 1, 2, or 3).
Publish or save the page as a draft. Hover your cursor over the newly created heading to reveal the chain-link icon, right-click it, and copy the link address.
Return to the top of the page where your button or Quick Link is located, edit the web part, and paste the copied anchor link into the URL destination field.

Troubleshoot Custom Script or Power Apps Implementations
If your button uses custom development (like SPFx or Power Apps), you must identify the source and debug the specific code.
Need a Fast and Reliable Alternative for Office Documents?
While troubleshooting complex SharePoint intranet issues, you can simplify your daily document workflow with WPS Office. It provides a lightweight, highly compatible, and free alternative to Microsoft Office for creating Word, Excel, and PowerPoint files.
- 1. Download and Install: Visit the official WPS Office website to download the free installation package for your operating system.
- 2. Open Your Documents: Launch WPS Office and open your existing Microsoft Office files directly without worrying about formatting loss.
- 3. Edit and Save: Make your necessary edits and save the files in standard formats, ready to be uploaded back to SharePoint or shared with colleagues.

Frequently Asked Questions
Does SharePoint Online have a built-in scroll-to-section button?
No, SharePoint Online does not include a standard, out-of-the-box button web part specifically designed to scroll users to lower page sections. Users typically achieve this by copying anchor links from headings and pasting them into standard Quick Links or Hero web parts.
How do I create an anchor link in modern SharePoint?
To create an anchor link, add a Text web part and apply a Heading style (H1, H2, or H3). Publish the page, hover over the heading to reveal the link icon, and copy the URL. This URL can then be linked anywhere on the page to jump directly to that section.
Why did my custom SharePoint scroll button suddenly stop working?
Microsoft frequently updates the SharePoint Online environment. If your button was built using custom JavaScript or legacy code, an update may have changed the underlying DOM structure of the page, causing your script to lose its reference to the target section.




