How to Remove the Gray Hover Gradient from SharePoint Images
Question details
The user wants to remove the gray hover overlay that automatically appears on images.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Viewing images within a SharePoint Image web part, Picture Library, or site page.
- Observed behavior
- A gray gradient overlay appears whenever the mouse pointer hovers over the images on the site.
Verify whether the images are housed in a Picture Library or an Image web part, as the hover gradient is default expected behavior in modern SharePoint Picture Libraries.
Inspect Web Part Configuration and Custom CSS
Check your Image web part settings and inspect the page's styling to see if custom CSS or the site theme is triggering the gray overlay.
While the hover effect is expected in Picture Libraries, its appearance in a standard Image web part might be caused by site theme settings or CSS applied to your SharePoint environment.
Navigate to the site page where the issue occurs, click 'Edit' in the top right corner, and select the Image web part to open its configuration pane.
Check the web part properties for any design toggles or overlay settings that might be enabled. Change the display style to see if the gradient disappears.
Right-click the image in your browser and select 'Inspect'. Look at the applied CSS classes on the hover state to determine if a custom stylesheet or the active site theme is causing the gray gradient.
Open the SharePoint page in a different web browser or in an incognito/private window to ensure the hover effect is not being caused by a browser caching issue or extension.

Contact Microsoft Support for Advanced Customization
If the hover effect is appearing unexpectedly in standard web parts and cannot be removed via settings, escalate the issue to Microsoft Support.
Manage Your Documents and Images Seamlessly with WPS Office
While SharePoint and Microsoft 365 can have rigid design restrictions like unremovable image hover effects, managing your documents locally offers total control. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office for creating, editing, and managing your files.
- 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the software: Run the installer and follow the on-screen prompts to set up WPS Office on your device.
- 3. Open and edit your files: Launch WPS Office and open your existing Microsoft Office files to enjoy a seamless editing experience.

Frequently Asked Questions
Why does a gray overlay appear on my SharePoint images?
The gray gradient is a built-in, expected behavior in SharePoint Picture Libraries designed to indicate visual interactivity. However, if it appears in other areas like an Image web part, it may be due to custom CSS or specific site themes.
Can I disable the hover effect in a SharePoint Picture Library through settings?
No, SharePoint does not currently offer a native out-of-the-box toggle to disable this hover gradient in Picture Libraries. Modifying this default behavior typically requires advanced custom CSS overrides using the SharePoint Framework (SPFx).
Will changing my site theme remove the gray hover gradient?
It might, depending on where the issue occurs. If the gradient is appearing in a standard Image web part due to custom site styling, switching to a default SharePoint theme can help reset the image display properties.




