Jump to content
Sign in to follow this  

resposive iframe won't work on froglearn website

Recommended Posts

Good afternoon,

I'm trying to embed a banner slide show using the html widget into a froglearn site, and whenever I change both the width and the height to 100% to make it responsive it reverts to a much smaller size. If I make just the width 100% and keep the height to 400px it works somewhat better but the scaling isn't great and creates big gaps. Has anybody come across this before? Apologies if the explanation is a bit rubbish, I'm very new to all this! Below is the code I am using.

<iframe src="//cdn.bannersnack.com/banners/bdtk5hh7e/embed/index.html?userId=27599251&t=1557744930" position="fixed" overflow="hidden" width="100%" height="100%" scrolling="no" frameborder="0" allowtransparency="true" allow="autoplay" allowfullscreen="true" ></iframe>

Kind regards


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...