I have a website that works being built with Freeway Pro. I can’t get it working in Blocs.
I copied and pasted the code, but no luck.
here it is minus my Google key
Thanks is advance. (Pasting in a HTML widget Blocs 3.0)
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }
Hi
Search for the location you need in Google maps, then click on SHARE, then click EMBED MAP and copy the html code ino a Blocs HTML brick. I’m not a coder but if you want it responsive I found this code online and you paste it BEFORE the Google embed code.
.google-maps {
position: relative;
padding-bottom: 75%; // This is the aspect ratio
height: 0;
overflow: hidden;
}
.google-maps iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}