Hi! I want to use Google Maps with iFrame in the contact page header. And I want it to look similar as if I am using the google map object that the template normally uses. How can I do it? Can you help me?
Thank you!
Hi jordip,
Try using the Code Block and put your iframe code there, I don’t think it should be as seamless as with the Google Map element provided but it should still be okay.
Best regards,
Nikko
Hi! I tried this but it doesn’t resize to full page width like Google Maps does. How can I do like this case?
Thank you
Hi jordip,
Can you give us a link to that page? so we can try to give you some custom CSS codes that might help.
Best regards,
Nikko
Hi jordip,
No need for admin access, just add this CSS code in Enfold > General Styling > Quick CSS:
.page-id-632 #main .container_wrap_first .container {
max-width: 100%;
width: 100%;
padding: 0;
}
.page-id-632 #main .container_wrap_first .container .av-content-full {
padding: 0;
}
To make your iframe a bit longer in height, just add the height attribute and put some value on it.
Best regards,
Nikko
Hi jordi,
Sure, just replace it with this code:
.page-id-632 #after_section_1 .container {
max-width: 100%;
width: 100%;
padding: 0;
}
.page-id-632 #after_section_1 .container .av-content-full {
padding: 0;
}
Best regards,
Nikko
hey using your google map in the 3 languages of my pages. In two pages works fine spanish & english. in the german pages doesn load the google maps. it stays in white.
Why?????
Hi migmarrero,
I have checked the contact pages and the german page has this message in the web console:
[AVIA-MAP-ERROR] Latitude or Longitude missing. Make sure you did not only enter an address. You need to fetch the coordinates too.
Best regards,
Nikko