Jump to content

Code Block Height Issue

Recommended Posts

Posted

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 

  • Replies 1
  • Views 938
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted
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. 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

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.