如何删除“Facebook社交插件”文本? [英] How to remove the "Facebook social plugin" text?
问题描述
我使用的是 Facebook社交外挂程式的评论。
当我嵌入它时,脚本创建了一个iFrame,其文本为Facebook社交插件,底部有Facebook标志(如下图所示)。
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).
我使用Firebug检查了元素,并试图在我的CSS文件中将其类设置为 display:none;
。然而 - 这不隐藏它(我怀疑是因为它在自己的iFrame)。如何使用CSS或jQuery(或任何其他方法)禁用该文本?
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?
谢谢!
推荐答案
你过于复杂的事情。小CSS更改...
You're overcomplicating things. Small CSS change...
.fb_iframe_widget{overflow: hidden;}
.fb_ltr{margin-bottom: -20px;}
完成!
Sidenote - 我同意关于法律问题的警告。你不应该真的这样做。
Sidenote - I agree with the warning about legal issues. You shouldn't really do this.
这篇关于如何删除“Facebook社交插件”文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!