NO BUG: iFrame rendering in Builder, but entire website on front end

Watch the video above - the iframe form renders fine in the builder but on the front end it sticks the whole site in the iframe instead. I believe I saw this issue get brought up a couple of years ago with how Bricks renders iframes.

Please let me know if this can be fixed because we use this CRM for many projects and not being able to use a simple iframe form is a critical failure.

Hi @pyfooty,

I tested your iframe code on my local install and it’s working fine, even on the front end. I’m also curious about what version of Bricks you have installed?

I’ll send you the iframe code that I used (same/similar as yours) to DM, so if you can copy-paste it, sign it, and test if it’s working.

Please expect the DM shortly and let me know after you tested.

Thank you,
Matej

Same error here. Last version of Bricks.
Tried with code element, text element, rich-text element. The iframe shows but the whole page disappears after iframe, stops rendering.

It’s a simple weather widget iframe

   <iframe scrolling="no" allowtransparency="true" src="https://www.meteo.gr/widget/?uid=DE4C4DA0-92E3-418E-AD56-D90AF99D8B0B" style="height: 306px" frameborder="0" height="auto"</iframe>```

Hi @Nicksi,

the issue is that the iframe you posted is not properly closed. This one should work:

<iframe scrolling="no" allowtransparency="true" src="https://www.meteo.gr/widget/?uid=DE4C4DA0-92E3-418E-AD56-D90AF99D8B0B" style="height: 306px" frameborder="0" height="auto"></iframe>

I’ve added > here.

Best regards,
Matej

1 Like

I am totally blind i guess, and still i can’t spot the difference at your code (maybe it’s because i need sleep) but if it works it works!

Thanks

Hey @Nicksi,

so, there is one difference. I’ve added a screenshot of my comment above and marked the difference.
The upper code, is the new one. You will see how the iframe is closed with the >.
The code below it’s your code, and you will see that > is missing.

That’s it, that’s the difference :slight_smile:

Best regards,
Matej

1 Like