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!
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.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With