Jump to content

Full Screen Responsive iFrame Embed

Recommended Posts

Hi there! I'm trying to embed a presentation from an external site in an iFrame. It's on a password protected Squarespace page: https://birdiehouses.co/deck pw: goldenbear

When accessed, I want it to take up the full screen (no header/footer/site container, etc). I've gotten it to work *pretty* well but there are some issues with scrollability. On desktop sometimes it will scroll, sometimes it won't; on mobile it's even more finicky. Rarely lets me scroll to the bottom of the slide. Just want people to be able to view this and interact with it on mobile and desktop as intended, and as it displays on the native site: https://tome.app/deck-0e5/birdie-houses-investor-deck-clllgcjo10bzqo75pglk4c2sn

Can someone help troubleshoot? I'm sure it's a simple fix. Thank you so much!!

Right now I have:

iFrame block code: 

<iframe src="https://tome.app/deck-0e5/birdie-houses-investor-deck-clllgcjo10bzqo75pglk4c2sn" width="100%" height="95vh" frameborder="0" scrolling="yes" style="height: 95vh;" seamless="seamless" allowfullscreen="allowfullscreen"></iframe>

Page Header Injection Code:

<style>

  #site-title {display:none!important;}

  #page.container {display:none!important;}

  #siteWrapper.clearfix.site-wrapper {display:none!important;}

  html, body {margin: 0; height: 100%; overflow: hidden}

</style>

      <div class="sqs-layout sqs-grid-12 columns-12" data-type="page-section" id="page-section-6063a8fceb34c530581d6d9b"><div class="row sqs-row"><div class="col sqs-col-12 span-12"><div class="sqs-block code-block sqs-block-code" data-block-type="23" id="block-yui_3_17_2_1_1693436280357_594"><div class="sqs-block-content"> <iframe frameborder="0" width="100%" height="1080px" src="https://tome.app/deck-0e5/birdie-houses-investor-deck-clllgcjo10bzqo75pglk4c2sn" allowfullscreen=""></iframe></div></div></div></div></div>

 

Edited by tgevans0623
Link to comment
  • tgevans0623 changed the title to Full Screen Responsive iFrame Embed
  • Replies 2
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.