JS Iframe being dumped below footer

A very limited question here. I have a widget from OpenTable which uses a script source to load the iframe in to the page.

<script type=’text/javascript’ src=’//www.opentable.co.uk/widget/reservation/loader?rid=137103&type=standard&theme=standard&iframe=true&overlay=false&domain=couk&lang=en-GB’></script>

The issue is, once put on the page in any format whether it be in a shortcode, raw HTML or through a content template – the widget seems to not load in the page body but completely outside the body underneath the footer.

Reference: See widget under footer here

Has anyone come across this?

I have tried wrapping it in positional and display css properties just in case but no fix. Have even trawled through the iframes inner code and do not see anything off about it.

Any guidance to what may be causing is is hugely appreciated.

Read more here:: JS Iframe being dumped below footer

Leave a Reply

Your email address will not be published. Required fields are marked *