SharePoint 2010 - How to hide My Site and My profile links in the Welcome Menu using CSS


How to disable MySite and My Profile- Quick fix


MySite and My Profile can be disabled through Central adminstration site by unchecking 'Use Personal Features' and 'Create Personal Site' under Manage User Permissions -> User Profile Service Application.

So what if you want to hide the links only for one site collection.

The easiest way to disable MySite and MyProfile links is by using CSS in your master page.

Here is code snippet I use for hidding MySite and MyProfile -
.ms-MenuUIUL LI[text='My Site'] {
 DISPLAY: none
}
.ms-MenuUIUL LI[text='My Profile'] {
 DISPLAY: none
}

Comments

Post a Comment