1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove "share this page"

Discussion in 'XenForo Questions and Support' started by Garamond, Nov 13, 2011.

  1. Garamond

    Garamond Well-Known Member

    How do I deactivate the Facebook "Share This Page" in the sidebar on forum home?
     
  2. Fuhrmann

    Fuhrmann Well-Known Member

    Open the template forum_list and remove the code:

    Code:
    <xen:include template="sidebar_share_page">
                <xen:set var="$url">{xen:link canonical:index}</xen:set>
            </xen:include>
     
    Garamond likes this.
  3. Andy.N

    Andy.N Well-Known Member

    How do I remove this on XF pages only?
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Code:
    .pagenode_container .sharePage {
      display: none !important;
    }
     
  5. Andy.N

    Andy.N Well-Known Member

    Thanks, it will just hide it but the JS still loads. Can it be removed completely on pages?
     

Share This Page