Jump to content

Code Embed Not Sizing Correctly

Go to solution Solved by Ziggy,

Recommended Posts

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

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

Top Posters In This Topic

  • Solution

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!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? 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.