Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Carrian

Fixed Embeded Google Maps Size

Question

Posted (edited)

Site URL: https://sparkotechengineering.squarespace.com/

Help please. How to code a fix  size of my map in a in Mobile/Desktop. I used a Code Block. See reference picture for my issue.

Password: customer123

<iframe src="https://www.google.com/maps/d/embed?mid=1ygJwNpqnkjLHEFccAa6_yG8T_SAyt8D_" width="760" height="510"></iframe>

image.thumb.png.d5bade0568aac790129eb57af046b8ba.png

 

107661511_305497337313837_7493993067910678393_n.thumb.jpg.df7e308895fbc1e55b87e29282124c45.jpg

 

Edited by Carrian

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 0

What is access password?


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
#block-yui_3_17_2_1_1594890176230_12559 iframe {
    max-width: 100%;
}

 


Free Squarespace 7.1 Anchor Link and Accordion Plugins available here!

If I replied to one of your questions with code, it was either CSS or jQuery.

To add CSS, go to Design -> Custom CSS

jQuery needs some additional steps. Head here: https://code.jquery.com/ and click on minified, under jQuery 3.x and copy that code into Squarespace.

After you put that code into the code injection section in Squarespace, you can add the code I supplied. The code from me will need <script> added before it and </script> added after it (only for jQuery).

There are two places that you can add the code, one is site wide (adds to all pages). Settings -> Advanced -> Code Injection

The other is for a specific page (adds to one page only). Pages -> Gear Icon next to the page -> Advanced

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...