1

I have a wordpress blog and am wanting to put the youtube subscribe widget in the widgets bar. The only thing is that it is really ugly :(

It is an iframe so I cant change the CSS easily but I think maybe I can do it with jQuery?

<iframe id="fr" src="http://www.youtube.com/subscribe_widget?p=[add  YouTube Username here]" style="overflow: hidden; height: 105px; width:  300px; border: 0;" scrolling="no" frameBorder="0"></iframe>

I just want to get rid of the black border really.

would love some help. Thanks

4

1 回答 1

0

jQuery 无法做到这一点——这种活动被同源策略阻止。这是一件有用的事情,但也打开了各种安全漏洞。

但是,小部件本身是可定制的。在这里查看一些想法。

于 2013-08-21T19:35:30.113 回答