Hide About Me

NeddyFlanders 101 Reputation points
2020-12-18T15:20:59.62+00:00

In SharePoint 2016 on the top right where it has the user name and dropdown. One selection says About Me. I need to hide that for now. I've already tried different ways with css but it's not hiding it.

<style type="text/css">
.ms-core-menu-list li[text='About Me'] { display: none;}
< /style>

This seems straight forward but I put it on CSS page and also directly on Master Page but About Me still shows.

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,576 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 42,101 Reputation points Microsoft Vendor
    2020-12-21T08:20:34.07+00:00

    @NeddyFlanders
    Here’re steps:
    (1)Edit page.
    (2)Insert script editor web part.
    (3)Edit script editor web part.
    (4)Edit snippet -> Add following code in the web part.

    <style type="text/css">  
     .ms-core-menu-list li[text='About Me'] { display: none;}  
    </style>  
    

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.