Jump to content

Code Embed Not Sizing Correctly

Go to solution Solved by Ziggy,

Recommended Posts

Posted

I'm having trouble embedding a third-party map on my website. I've used the embed block and the code block and both will display but not at 100%. It shows up very narrow and I can't figure out how to make the block bigger so that it shows the full map. 

This is the code that the third-party gave me: 

<iframe style="height:100%;width:100%;" src="https://wandermaps.link/Tourism-Cares" title="Tourism Cares"></iframe>

Screenshot 2023-05-18 at 10.35.57 AM.png

  • Replies 2
  • Views 317
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
Posted

You need to change the height:100%; to an absolute value, so something like 800px or maybe 80vh.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.