How To Hide New Item from Ribbon Classic SharePoint online?
-
08-02-2021 - |
No correct solution
OTHER TIPS
Add CSS below to script editor web part:
<style>
span[id='Ribbon.ListItem.New.NewListItem-Large'] {
display: none;
}
</style>
Try using below CSS to hide the "New Item" button from your page:
#Ribbon\.ListItem\.New\.NewListItem-Large {
display: none !important;
}
Just add the script editor webpart on the page and add the below code to it,
<script type="text/javascript">
var elem = document.getElementById("Ribbon.ListItem.New.NewListItem-Large");
elem.style.display = "none";
</script>
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange