-
AuthorPosts
-
January 31, 2021 at 8:57 pm #1276610
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!
-
This topic was modified 4 years, 8 months ago by
jordip.
February 1, 2021 at 11:01 am #1276735Hi 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,
NikkoFebruary 1, 2021 at 11:09 am #1276741Hi! I tried this but it doesn’t resize to full page width like Google Maps does. How can I do like this case?
Thank youFebruary 1, 2021 at 1:58 pm #1276814Hi 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,
NikkoFebruary 1, 2021 at 2:30 pm #1276830This reply has been marked as private.February 1, 2021 at 3:47 pm #1276861Hi 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,
NikkoFebruary 1, 2021 at 5:10 pm #1276881This reply has been marked as private.February 2, 2021 at 2:53 am #1276950Hi 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,
NikkoFebruary 3, 2021 at 2:38 pm #1277370hey 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?????February 4, 2021 at 5:39 am #1277530Hi 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 -
This topic was modified 4 years, 8 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
