I am using SharePoint Online. Does anyone know of ways to disable/remove/hide the "View all Pages" from the ribbon menu. I am open to solutions to remove "Page Library" section of the ribbon or even the "Page" menu if those solutions are avalable.
You can hide Page
tab using CSS:
.ms-cui-tts > li:last-child {
display: none !important;
}
You can add Script editor webpart
to the page by inserting code to hide the whole Page ribbon:
#Ribbon\.WikiPageTab {
display: none !important;
}