Solved

change default size of iframes

  • 6 April 2022
  • 1 reply
  • 43 views

I integrate the polls via iframe. Looks, like the iframes always have a size of 300x400, which I always have to change to the size of 800x400. Is there an option to change these default parameter for the whole session?

 

icon

Best answer by Meggie from Slido 11 April 2022, 18:20

View original

1 reply

Userlevel 4
Badge

Hi @TomTomSlidO,

If you’re embedding a singe poll then the default size will always be 300x400px, but if you embed the whole event, it will adapt to your website.

As you can see in the example below, our default embed code for the whole event is set to fill 100% of the size you allow on your website, with the minimal intended height of 560px.

<iframe src="https://app.sli.do/event/hefhtAFN5JpgvMFyGYCjaL" height="100%" width="100%" frameBorder="0" style="min-height: 560px;" title="Slido"></iframe>

You can embed the whole event, disable the Q&A tab and only activate the poll you want to run.

Thank you for flagging this, though! I will raise a feature request to be able to change the default size of the poll embed.

Hope this helps 🤗

 

Reply