Jump to content

Code Block Height Issue

Recommended Posts

Site URL: https://757patriotproperty.com/new-page

Hello! I am having an issue where my code block that I inserted is only showing around 1.5 inches of what is supposed to be shown. I can see you previously helped another individual with this same issue and was wondering if you could assist me in the same way. The sire url should be attached and you should be able to see what I am talking about. Thank you!

-Chris 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

11 minutes ago, ChrisM757 said:

I am having an issue where my code block that I inserted is only showing around 1.5 inches of what is supposed to be shown.

Code Blocks don't have a fixed height so when you're adding an iframe to a Code Block, you need to specify the iframe's height in pixels - not percent.

For example height="1200px" instead of height="100%". A height of 100% will only set the iframe to fill 100% of the Code Block, and as the Code Block is tiny, you'll have a tiny view of the embedded site. Try changing your code to see if this fixes the issue for you. 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.