Hide About Me

NeddyFlanders 101 Reputation points

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,492 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 34,186 Reputation points Microsoft Vendor

    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;}  

    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.