Skip to main content

iFrame

Allows you to upload a live external web URL to display inside a container.

Lewis Bowen avatar
Written by Lewis Bowen
Updated over 2 weeks ago

The iFrame component lets you display a live external website URL inside a container within your Vev project.

Configuring the iFrame component

To set up the iFrame component in Vev:

  1. Double-click the iFrame component on your canvas.

  2. In the Properties panel on the right, paste the URL of the external page into the “URL to page” field.

  3. Optionally, use the scaling option just below the “URL to page” field to adjust how the external page scales within your iframe container.

Styling the iFrame component

You can adjust the look and behavior of the iFrame component through the Styling tab. The styling options include:

  1. Spacing Top: Add padding in pixels or percentage to the top of the iFrame section for spacing between sections.

  2. Spacing Bottom: Add padding in pixels or percentage at the bottom of the section.

  3. Width: The width of an iFrame section is fixed to cover 100% of its container; you cannot alter it.

  4. Height: Set the height in pixels, percentage, or choose Auto so the section grows as you add content.

  5. Min H (Minimum Height): Set a minimum height in pixels for the iFrame section. A red stippled horizontal line inside the section indicates the minimum height.

  6. Clip Content: Toggle this option to hide (clip) content that goes beyond the section’s edges.

  7. Resize to Fill Vertically: Click this option to set the section’s height to 100% of its container.

  8. Background: Change the component’s background color.

  9. Border: Adjust border color, line weight, and opacity for the container.

  10. Effects: Add effects such as shadows or blurs to the component’s container.

Best practices using the iFrame component

  1. Since the width is set to 100%, ensure your layout accommodates the full width of the container so the iframe appears correctly.

  2. When setting height using Auto, test in preview mode to verify that the embedded page resizes as expected.

  3. If you embed an external site with scrolling or interactive content, utilising “Clip Content” or “Resize to Fill Vertically” can improve how the frame appears to users.

  4. Make sure the external URL you are embedding allows embedding; some sites may restrict being loaded in an iFrame via headers or settings.

Did this answer your question?