Hide Feedback Buttons from SharePoint Modern Site Footer through Application Customizer

Manimekalai
 
Technology Specialist
August 26, 2018
 
Rate this article
[Total: 0    Average: 0/5]
 
Views
2569

 

We all know the Feedback and Mobile App buttons are essential for Microsoft, but many of the customers are ask to remove it. The main reason is customer thinks feedback will go to site owner but the actual behavior is the feedback will go to Microsoft.

The following CSS removes the buttons from the page

// Hide any class that starts with feedback

div[class^=”feedback_”]{

    display: none !important;

}

The CSS query all div elements where that has a class name starting with ‘feedback_’, and this matches the outer container where the buttons are.

Registration through a custom action

The solution built can be deployed tenant wide, so that the button will be removed across the site collections in tenant.

Create an application customizer and add the css to. scss file of your extension. The buttons are removed once the custom action injected to the site.

clip_image002

Category : SharePoint, SPFx

Author Info

Manimekalai
 
Technology Specialist
 
Rate this article
[Total: 0    Average: 0/5]
 
Having 6 years of experience in design and development of SharePoint applications, Mani has expertise in developing applications using Office 365, SharePoint 2013 & 2010, SPFX, SP Designer Workflows, Visual ...read more
 

Leave a comment