I need to disable chatter feed to appear on home page and any record page. I have created VF page and used it in VF home page component but it is not working.

Please find below VF page code.

    <apex:page sidebar="false" showHeader="false" standardStyleSheets="false">
 <script type="text/javascript">
    function hideChatterFeed(){
        var isFeedShown =
                    .display == 'none' ? false:true;

        if(isFeedShown && chatter){
                    '{"subjectId":"' + sfdcPage.entityId + '","feedType":"ENTITY"}'

    document.onreadystatechange = hideChatterFeed;



enter image description here

Please Help in this.

  • 1
    Why not just disable it entirely at that point?
    – Adrian Larson
    Aug 2, 2018 at 12:06
  • since to Install CPQ package we need to enable Chatter in Org but we do not want users to see Chatter
    – Sharmila
    Aug 3, 2018 at 5:09

1 Answer 1


As you already created a visualforce, try include on the style tags

 .bPageTitle .metadata { display:none; }

chatter component will remain internally although that tag will hide part where chatter is alocated on the Html.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .