Sharepoint online header gradient removal

Copper Contributor

We are using the OfficeDevPnP.Core library to convert onprem SharePoint to sharepoint online.

When setting a custom page header via ClientSidePage.SetCustomPageHeader the system is putting by default a gradient over the image (cPage.SetCustomPageHeader(_pagebannerImage,1,1);)

 

It can be removed manually via the SharePoint UI properties page but we are trying to remove this gradient or prevent it's presence via the library since we are processing many pages.  This gradient causes the header image to look dim and we do not want it. I've been unable to find a property or field that allows this- is there a way to do it?

0 Replies