Question

How to hide New Item menu from classic SharePoint Online Ribbon UI?

enter image description here

I am already using Toolbar Type with "No Toolbar". But I want to hide "New Item" button from Ribbon.

Please advice.
Thanks

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
scroll top