Page 1 of 1

removing social sharing buttons ?

PostPosted: Sun Jul 31, 2011 8:16 pm
by oochappan
is it possible to remove these social sharing buttons from your layout also for others with a CSS that could block facebook.js and plusone.js from loading ?

Re: removing social sharing buttons ?

PostPosted: Mon Aug 01, 2011 5:14 am
by mardoli
oochappan wrote:is it possible to remove these social sharing buttons from your layout also for others with a CSS that could block facebook.js and plusone.js from loading ?

Well, I think I have found, but I don’t know if it’s a good method…
It seems to work for me.
It’s necessary to add the same line of code to all our CSS

Code: Select all
#socialSharing{display:none}


and then ll the buttons are invisible also for visitors who have not disabled the option in their own settings.
Probably there are better ways, but this is all what I have found so far.
Best
Marisa

Re: removing social sharing buttons ?

PostPosted: Mon Aug 01, 2011 5:44 am
by oochappan
mardoli wrote:
Code: Select all
#socialSharing{display:none}
Marisa


Perfect, I overlooked but you found the tag .....
it removes the whole span of g:plusone, fb-root, fb:like ... excellent,
killing two birds with one stone (and maybe future aliens too) in the most efficient way I believe .
Thanks a lot , hats off for solving my request, you were so quick !

(Belgian heraldic device alike: L'union fait la farce)

Re: removing social sharing buttons ?

PostPosted: Mon Aug 01, 2011 1:41 pm
by imorozoff
mardoli wrote:It’s necessary to add the same line of code to all our CSS

Code: Select all
#socialSharing{display:none}


and then ll the buttons are invisible also for visitors who have not disabled the option in their own settings.



Bravo! Thank you for your efforts at finding the resolution! Much appreciated.