Not setting 100% width
-
Strange happenings:)
I have what I think are the correct settings, but the iframe is being resized to 413px.
Under basic settings, I have width field set to 100%
My shortcode:
[advanced_iframe use_shortcode_attributes_only="true" src="https://example.com" width="100%" height="600" scroll="no" onload_resize="true" onload_resize_delay="1000" onload_resize_width="true"]
The result of rendered html:
<iframe id="advanced_iframe" name="advanced_iframe" src="https://example.com/" width="413" height="19672" frameborder="0" allowtransparency="true" loading="lazy" style="width: 413px; height: 19672px; margin-top: 0px; margin-bottom: 0px;" onload="setTimeout(function() { ;aiResizeIframe(ifrm_advanced_iframe, "true","1");},1000)"></iframe>
Have been back through settings many times and hoping you can get me back on track.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Not setting 100% width’ is closed to new replies.