Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the "Facebook social plugin" text?

I'm using the comments facebook social plugin When I embed it, the script created an iFrame that has the text "Facebook social plugin" with the facebook logo at the bottom (as seen in the image attached below).

I inspected the element using Firebug and tried to set its class to display:none; in my CSS file. However - that does not hide it (I suspect it's because it's in its own iFrame). How can I use CSS or jQuery (or any other method) to disable that text?

Thanks!

Facebook social plugin

like image 754
Yuval Karmi Avatar asked Feb 02 '11 01:02

Yuval Karmi


Video Answer


2 Answers

You're overcomplicating things. Small CSS change...

.fb_iframe_widget{overflow: hidden;}
.fb_ltr{margin-bottom: -20px;}

Done!

Sidenote - I agree with the warning about legal issues. You shouldn't really do this.

like image 183
Brian Avatar answered Oct 25 '22 00:10

Brian


You can only control the options given to you by the plugin developer (here, Facebook). Most plugin developers do not allow altering their code and Facebook is one of them. I suggest you stick to what Facebook provides you.

Have a read of the following:

  1. Brand Permissions Center
  2. Facebook Platform Policies
like image 35
ifaour Avatar answered Oct 24 '22 23:10

ifaour