iframe responsive

Q&A about the latest versions
Post Reply
Lou
Posts: 31
Joined: Wed Oct 04, 2017 4:54 pm

Hi Hopki,

I'm using the below iframe (with my own pano link) on wordpress:

<iframe src="pano.html" name="panorama" width="640" height="480" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="float:left; margin-left:0px" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>

Is there a way to make the iframe responsive, as I can only see the desktop size on mobile/ipad devices?

Thanks,
Lou :)
User avatar
Hopki
Gnome
Posts: 13019
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Try replacing:

Code: Select all

width="640" height="480"
with

Code: Select all

width="100%" height="100%"
.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply