Quantcast
Channel: SharePoint Diary
Viewing all articles
Browse latest Browse all 1058

How to Hide Home Tab / First Tab in SharePoint 2010

$
0
0
Ever wanted to Hide or Remove the Home Tab (or First Tab) from SharePoint Site's Top navigation Menu bar?
sharepoint hide home tab
How to Hide home tab in SharePoint 2010
How to do that? Site Settings >>  Navigation Settings? No! You won't get an option to remove Home tab (or First Tab) from Navigation there!

Solution:
Yes, We can Hide SharePoint site's Home tab by overriding CSS classes of the the Top Navigation:

CSS to Hide Home Tab in SharePoint 2010:
<style type="text/css"> 
.s4-tn li.static > a
{
   display: none !important;
}
.s4-tn li.static > ul a
{
   display: block !important;
}</style>

Place these styles in your Style Sheet preferably(CSS), / Master Page / Content Editor Web Part based on your requirement! and the result goes here: home tab hidden in SharePoint 2010 site.
how to hide home tab in sharepoint 2010
For MOSS 2007: 
Just grabbed the ID of Home tab with IE developer toolbar, and the CSS code to Hide Home tab in SharePoint 2007:

<style type="text/css"> 
#zz1_TopNavigationMenun0 {

display: none !important;

}
</style>

Viewing all articles
Browse latest Browse all 1058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>