Search This Blog

Saturday, January 27, 2018

Hide The Browse and Page Tabs On A SharePoint 2013 And Office 365 Site Using CSS

While working on SharePoint 2013 and Office 365 sites, most of our clients request their homepage to not have a "Browse" or "Page" tab options. Let's see how to achieve that.

In those cases, you can avoid taking a lot of time writing code to hide those files. Just follow the steps below:
  1. Edit the page on which you want to remove the Browse and/or Page Tab link.
  2. Add a Script Editor web part.
  3. Paste the following code.

    Code
    1. <style type="text/css">  
    2.     .ms-cui-tts {  
    3.         display: none;  
    4.     }  
    5. </style>  
  4. Your Browse and/or Page Tab link will be gone.


No comments:

Post a Comment