Wednesday, December 1, 2010

Hide SP2010 “My Site” link in top navigation

To hide the “My Site” link in the SharePoint 2010 top navigation you can easily do this via CSS.

image

Simply add the following to your custom CSS.

.ms-globalnavicon{
display: none;
}

image

Now when you click on Site Actions > Site Settings > Top Link Bar. You can customize those links all you want and not have to worry about the “My Links” getting in the way. Its redundant/repetitive to the My Newsfeed link anyways. So I am not really sure why it was in there for the first place…

image

7 comments:

Abdul said...

Hi,

whats the tool you are using to display the various elements of the page being browsed, where you can see the style sheet, etc, as you click on a particular element of the page in your browser.

Anders Brunholm Sylvest said...

He's probably using the built-in debugging feature of IE8. Press F12 to enable it.

Chrome's got some similar tools, press Ctrl+Shift+I.

In Firefox you can use http://getfirebug.com/.

Magento Themes said...

Primary navigation should be on every page with some secondry links too for some point.

- John Devis
Magento Themes

Anonymous said...

Hey Erik.
Great blog! So this idea works great for the 'My Profile' sections of your My Site but doesn't work for the 'My Content' section since that is its own seperate site collection. I guess the answer is to use feature stapling or something similar to get each site collection for each user to use your custom css. Just checking :)

Kevbo

Magento themes said...

The help full thing in the css and HTML coding no dot it is very simpatico and coded fetch ideas but the thing is just t to perform and suspected

Radityo Ardi Hernowo said...

Bulls eye!
Great maaaan...! Really helping!

Radityo Ardi Hernowo said...
This comment has been removed by the author.