Support Forums for LiveMesh Themes & Plugins › Forums › Enigmatic Theme Support › Contact page map
- This topic has 5 replies, 3 voices, and was last updated 11 years, 7 months ago by
Raghavendra.
-
AuthorPosts
-
April 25, 2014 at 6:35 pm #6288
lcm
MemberWhat is the procedure to change the link on the contact page so that the Google map will work properly. They just changed Google maps and wondering if thats the issue.
I figured I just needed to replace the link with the appropriate one from Gmaps but that didnt work. I couldn’t get it to span the whole page? Any ideas?
April 29, 2014 at 7:51 am #6393Nexus
ModeratorIf the shortcode fails to work for a location, you can use the embed code provided by Google Maps. Click on the bottom right setting link in the following URL and you should see a “Share and Embed Map” link –
Hope this helps
May 5, 2014 at 3:14 am #6542lcm
MemberThis reply has been marked as private.May 7, 2014 at 2:31 pm #6626Raghavendra
ModeratorThis is the code which helps expand and reduce the maps size and makes it responsive.
$("#content").fitVids({ customSelector: "iframe[src^='http://maps.google.com/']"}); $("#content").fitVids({ customSelector: "iframe[src^='https://maps.google.com/']"});and it is located in js/main.js at line number 412. Can you try the following additional code and see if that helps –
// Take care of maps too - https://github.com/davatron5000/FitVids.js - customSelector option $("#content").fitVids({ customSelector: "iframe[src^='https://www.google.com/maps/']"}); $("#content").fitVids({ customSelector: "iframe[src^='http://www.google.com/maps/']"});It did help me for another theme and it should work provided your maps is within the #content element. Google changed the URL of maps recently and hence the above change.
May 7, 2014 at 10:37 pm #6647lcm
MemberI removed the code that was added to wordpress. Thanks for the above but I also need the code that I should paste into the contact page edit form.
May 8, 2014 at 4:15 am #6650Raghavendra
ModeratorPls use the suggestion from Nexus above (the shortcode would generate the same code provided by Google) –
If the shortcode fails to work for a location, you can use the embed code provided by Google Maps. Click on the bottom right setting link in the following URL and you should see a “Share and Embed Map” link –
-
AuthorPosts
- The forum ‘Enigmatic Theme Support’ is closed to new topics and replies.