It really is super simple and requires I line of CSS per item. If you want to hit them all or any future ones you could hide the whole element. I’m posting this b/c I was looking for a quick fix to do this and all the blogs make you change master pages or something else wacky. I didn’t have mine enabled and really was being lazy. So here it is.
Hide OneDrive
#suiteLinksBox .ms-core-suiteLink-a[id$='ShellDocuments'] { display: none; }
Hide Newsfeeds
#suiteLinksBox .ms-core-suiteLink-a[id$='ShellNewsfeed'] { display: none; }
Hide Sites
#suiteLinksBox .ms-core-suiteLink-a[id$='ShellSites'] { display: none; }
Get rid of them all in one shot
#suiteLinksBox .ms-core-suiteLink-a[id$='ShellDocuments'], #suiteLinksBox .ms-core-suiteLink-a[id$='ShellNewsfeed'], #suiteLinksBox .ms-core-suiteLink-a[id$='ShellSites'] { display: none; }
Get rid of the anything that could possible go in there
#suiteLinksBox { display: none; }
There you have it folks – simple css to just pop those items right off the page.
[…] If you are looking to do this in the Ribbon for SharePoint 2013 then check out my other posting – https://thomasdaly.net/2016/03/05/hide-newsfeed-onedrive-andor-sites-from-the-suite-bar-ribbon-area-…Where do you put this? There are a number of places that you can put it. The best option would be in […]
This a great solution. I didn’t want to get into SPD. Works great. Thanks very much
Love it. I did not want to get into SPD. This solution worked great. Thanks.
Thank you for your reply. You advise I can simply copy whichever line of code I need and simply paste it anywhere within the ‘seattle.master’ file code?
If you use tags you could, but linking to a custom css file would be much better.
agree. its best to link to a custom file.
Great! Can you be just a little more specific? Where do I place these line of code?
You can put these in a custom css file that you attach via Alternate Style Sheet (publishing enabled). You could add the css directly to the master page or to a custom css file that you have linked up in the master page already.