Installing widget in iframe

If the only possibility to install an Elfsight widget to your website is via iframe, this article will come in handy for you. Here, we are going to describe how to convert your widget installation code into iframe.

Converting installation code into iframe format

1
Get a link to your widget
First, you will need a direct link to your Elfsight widget. Find the widget you'd like to install in iframe in your dashboard and click Install: Switch the tab to Share Link. Here is the link we'll need for the next step:
2
Create an iframe

Use the following code:

<iframe src='SHARE_LINK' width='100%' height='1000' frameborder='0'></iframe>
	

Replace SHARE LINK in the code above with your own link.

3
Adjust the size
Adjust the height parameter to match the height of your widget:
The final version of the code would look like this:
<iframe src='https://widget.elfsig.ht/275fdadf-217a-4c14-b434-a71acc71ebf4' width='100%' height='700' frameborder='0'></iframe>
	

Voila! You have converted your installation code into iframe format. Now you just need to add it to your website.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us