Select Page

Hide First Tab in Sharepoint 2010 Global Navigation

I found this helpful recently. I wanted to add some drop-down options to the Sharepoint 2010 (publishing site) Global Navigation menu, but the first Tab is there by default (linked to the home page of the site) and I could not define sub-menu items to it in Site-Settings->Navigation. The solution was to HIDE this and simply add my own Tab to the home page and then add the sub items to that.

CSS:

.s4-tn li.static > a{ display: none !important; }

.s4-tn li.static > ul a{ display: block !important; }

Source:

http://erikswenson.blogspot.com/2010/09/hide-first-tab-in-sharepoint-2010.html

Thanks, Erik!

Pin It on Pinterest