While working on SharePoint 2013 and Office 365 sites, most of our clients request their homepage to not have a PageTab option.
In those cases, you can avoid taking a lot of time in writing code to hide those files. Just follow the following steps.
- Edit the page on which you want to remove the PageTab.
- Add a Script Editor web part.
- Paste the following code.
Code
- <style type="text/css">
- #Ribbon.WikiPageTab-title {
- display: none;
- }
- </style>
- Your PageTab will be gone.
That's it.
Keep reading & keep learning!