# Auto sizing on Iframe

**URL:** <https://forum.wixstudio.com/t/auto-sizing-on-iframe/17675>\
**Category:** Ask the community\
**Tags:** wix-bookings, code\
**Created:** [July 4, 2019, 4:27pm UTC](https://forum.wixstudio.com/t/auto-sizing-on-iframe/17675 "2019-07-04T16:27:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dspelman](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@dspelman](https://forum.wixstudio.com/u/dspelman)\
**Post date:** [July 4, 2019, 4:27pm UTC](https://forum.wixstudio.com/t/auto-sizing-on-iframe/17675/1 "2019-07-04T16:27:46Z")

</div>

Hi,  
I’m Embeding a bookings widget. The height of the widget depends on the actions and how the person makes through the Iframe. So the height of the html page being embeded changes.  
I would like to send the height of the iframe from the widget site to the wix page holding the frame, so it can resize properly.

Thanks,

Dave

---

<div class="post-metadata">

**Author:** ![oferr](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/oferr/32/669_2.png) [@oferr](https://forum.wixstudio.com/u/oferr)\
**Post date:** [March 12, 2020, 8:17am UTC](https://forum.wixstudio.com/t/auto-sizing-on-iframe/17675/2 "2020-03-12T08:17:50Z")

</div>

Hi @dspelman ,  
Feel free to take a look at our newest component: [Custom Element](https://www.wix.com/corvid/forum/corvid-tips-and-updates/new-feature-custom-element) . You’ll probably find it useful for this specific issue.
