Jump to content

iframe embed code works in Edit mode but not live

Recommended Posts

Site URL: https://madhattersnyc.com/blog/best-street-art-nyc/

Hi there,

I'm not sure what I'm doing wrong, but I added a code block for an iframe embed code, and I can see the story in Edit Mode but when I save it, all I see is a blank square. Here is the code I'm using: 

<div style="width: 100%; position: relative; max-width: 500px;">

<div style="padding-top: 166%;">

<iframe src="http://onl.st/best-street-art-galleries-nyc" style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"></iframe>

</div>

</div>

Attaching prints of Edit mode vs. Live. TIA!

Edit Mode.JPG

Live Mode.JPG

Link to comment
  • Replies 2
  • Views 458
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.