Title: Height issue
Last modified: August 30, 2016

---

# Height issue

 *  Resolved [andyeverywhere](https://wordpress.org/support/users/andyeverywhere/)
 * (@andyeverywhere)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/height-issue-5/)
 * Hey – great plugin
 * except that the height of the iframe doesn’t respond much – with autosize on 
   default it’s only half the height require – with autosize on no, it’s even smaller
 * [http://cleverbread.com/examples/ecommerce-styles/shopkeeper/](http://cleverbread.com/examples/ecommerce-styles/shopkeeper/)
 * [https://wordpress.org/plugins/auto-iframe/](https://wordpress.org/plugins/auto-iframe/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/height-issue-5/#post-6505141)
 * Is your target in the same namespace as your site?
 * The auto sizing doesn’t work across domains due to browser security issues.
 * You can manually set the height of the frame from the shortcode though.
 *  [Deh Saaduddin](https://wordpress.org/support/users/dehgel/)
 * (@dehgel)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/height-issue-5/#post-6505373)
 * Hi Greg,
 * I have been using your plugin “Auto Iframe” to our website but I was tired looking
   for a reason on why the height is still not 100% as the website’s container.
 * I used the code:
 * [auto-iframe link=https://desertbelle.thundertix.com/ height=100% autosize=yes]
 * Since our website is using Visual Composer, adding <iframe height=”100%”– is 
   no longer supported. And I found your plugin that may helps us.
 * Thank you.
 *  Plugin Author [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/height-issue-5/#post-6505375)
 * The problem is that your using both height and autosize. When both options are
   used the initial height of the container will be set to 100%, but will then be
   resized to the size of the content.
 * If you just want the iframe to be the size of your website’s container, turn 
   off autosize.
 * P.S. Next time please open a new thread instead of tacking on to the end of on
   that has already been closed. Thanks.
 *  [vantron](https://wordpress.org/support/users/vantron/)
 * (@vantron)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/height-issue-5/#post-6505424)
 * I found a Bug in your code Hope it helps:
 * $result .= ‘<iframe id=”‘ . $tag . ‘” src=”‘ . $link . ‘” width=”‘ . $width .‘”
   height=”‘.$height.'” frameborder=”‘ . $border . ‘” scrolling=”‘ . $scroll . ‘”
   onload=”AutoiFrameAdjustiFrameHeight(\” . $tag . ‘\’,’ . $fudge . ‘);”></iframe
   >’;
 * the height=”auto” was hardcoded and I Change it to height=”‘.$height.'”.
 * Thanks for the plug-in 🙂
 *  Plugin Author [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/height-issue-5/#post-6505425)
 * Thanks [@vantron](https://wordpress.org/support/users/vantron/), it will be fixed
   in the next release.
 * P.S. you should open a new thread instead of tagging on to the end of a closed
   one in the future.
 *  [Deh Saaduddin](https://wordpress.org/support/users/dehgel/)
 * (@dehgel)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/height-issue-5/#post-6505426)
 * Thanks [@vantron](https://wordpress.org/support/users/vantron/), I made my site
   cool with Auto iFrame plugin alongwith your help.
 *  [cgl102770](https://wordpress.org/support/users/cgl102770/)
 * (@cgl102770)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/height-issue-5/#post-6505444)
 * We’d like [http://shop.op247.com/8512/](http://shop.op247.com/8512/) to iframe
   into cosatl.com. When you say iframing doesnt work across domains, does that 
   mean that type of iframe will not work?
 *  Plugin Author [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/height-issue-5/#post-6505445)
 * [@cgl102770](https://wordpress.org/support/users/cgl102770/) the iframe will 
   work but it will not autosize to the content as browser security will not let
   the parent access the cross domain source information.
 * So if you just want a statically sized iframe it will work.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Height issue’ is closed to new replies.

 * ![](https://ps.w.org/auto-iframe/assets/icon-256x256.png?rev=3164574)
 * [Auto iFrame](https://wordpress.org/plugins/auto-iframe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auto-iframe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auto-iframe/)
 * [Active Topics](https://wordpress.org/support/plugin/auto-iframe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auto-iframe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auto-iframe/reviews/)

 * 8 replies
 * 5 participants
 * Last reply from: [Greg Ross](https://wordpress.org/support/users/gregross/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/height-issue-5/#post-6505445)
 * Status: resolved