Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
where is iframe code defined in wordpress plugin integration?
rw1
New
hello,
i'm wanting to add rounded corners to the iframe that contains the embedded vanilla forum in a wordpress integration scenario (using the embeddable theme as well).
in firebug i can see that the iframe has what appears to be hardocded styles in it ie:
<iframe width="100%" scrolling="no" height="1000" frameborder="0" style="width: 100%; height: 600px; border: 0px none; display: block;" border="0" src="***" name="vanillaxxxxx" id="vanillaxxxxx"></iframe>
can anyone please tell me where i can hardcode the additional style of border-radius: 10px
?
thanks very much!
0
Comments
if you wrap the iframe in a div, set a border radius to the div, and overflow hidden on the iframe
http://stackoverflow.com/questions/6535217/css-adding-border-radius-to-an-iframe
There was an error rendering this rich post.
It is a Plugin so it would be in the embedvanilla plugin remote.js
almost at the end of the code you will find:
just add the border radius in there like I did here.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
since it is created dynamically anyway you can do this try this trick
You will obviously need livequery loaded for it to work. You can substitute
iframe#vanilla
foriframe
if you wan to be specific.grep is your friend.