Hello Friends,
I want to hide Share, Shared with options from SharePoint 2013 web application. I have hidden some share options using CSS but unable to hide from list, library Ribbon and pop out.
Please suggest me if anyone having better options like power shell or any other.
Thanks,
Ashutosh
Hi,
You can hide SHARE Button at page level as well as Site level.
1. For page level Add script editor webpart to your page and paste below code
<style>
#RibbonContainer-TabRowRight a[id$=site_share_button] {
display: none !important;
}
</style>
2. At site level Go to –> Site Setting–> Site Permission–>Access Request Settings–>Unchecked Allow access requests
Note: It will be always visible for Site Administrator Â
This css doesn’t look is hiding the Share button on the office web app itself, when you click on the document and opens up in the word app and there is Share button. The css file is on the Office Server in WordViewer.css class=”cui-ctl-medium” id=”btnFileSharing-Medium20″
Any thoughts how to remove it ?