Hide New and Add documents buttons from menubar in form lirbary

<style type="text/css">
#Ribbon.Documents.New.AddDocument-Large {
DISPLAY: none
}
#Ribbon.Documents.New.NewDocument-Large {
DISPLAY: none
}
</style>

------------------------------

For hide Open with explorer view button

<style type="text/css">
#Ribbon.Library.Actions.OpenWithExplorer-Medium {
DISPLAY: none
}
</style>

Comments

Popular posts from this blog

SharePoint 2016 and 2019 Ports

PsConfig step by step /Configuration Wizard. “Upgrade Available” vs “Upgrade required”

Unlock the SharePoint site using Powershell command