iframe background color
how do I add background color? I've tried the below, but it does not work.
[iframe src=" removed link " width="100%" height="600" iframe_content_styles="background-color: #f8f8fff"]
I believe that last "f" should be a ;
in any case, still does not work
You should use advanced_iframe as shortcode.
And here you see a demo how to set styles: http://www.tinywebgallery.com/blog/advanced-iframe/demo-advanced-iframe-2-0
[ advanced_iframe id="myiframe" content_id="#myiframe" content_styles="background-color: #f8f8ff" ]
does the the background of the iframe itself
works inside the iframe if you are on the same domain. If you like this you need to define also where the color should be applied to: iframe_content_id="body" iframe_content_styles="background-color: #f8f8ff;"
This then sets the background color of the body inside the iframe.
Please also check the documentation in the administration for more details.
thank you very much Michael. case closed!
You are welcome :).