{"id":533,"date":"2013-11-16T09:08:39","date_gmt":"2013-11-16T09:08:39","guid":{"rendered":"http:\/\/www.advancedwebhelp.com\/blog\/?p=533"},"modified":"2013-11-16T09:12:13","modified_gmt":"2013-11-16T09:12:13","slug":"warning-about-google-maps-and-wordpress","status":"publish","type":"post","link":"https:\/\/www.advancedwebhelp.com\/blog\/2013\/warning-about-google-maps-and-wordpress","title":{"rendered":"Warning about Google Maps and WordPress"},"content":{"rendered":"<p>Warning.   As I was working on my previous post, I notices an interesting incompatibility between the WordPress template I was using and Google Maps.  The template in use has a CSS configuration of:<\/p>\n<blockquote><p>.entry_content img { max-width: 100% ; }<\/p><\/blockquote>\n<p>The previous css seems minor enough, but, this declaration affected the Google Map on the page.  The result is a map that shows no zoom controls.   Instead, where the controls should be, they display as small white marks.   In the event that you happen upon a template that does not seem to be compatible with Google Maps (because the zoom controls are missing) check to see if there is a CSS declaration defining &#8220;img {max-width: 100% }&#8221; in a manner it might be affecting the map.   If so, you will need to create a CSS declaration that will override this command.  It appears that  img max-width must be configured to &#8220;none,&#8221;  or the controls will be incorrectly displayed. <\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Warning. As I was working on my previous post, I notices an interesting incompatibility between the WordPress template I was using and Google Maps. The template in use has a CSS configuration of: .entry_content img { max-width: 100% ; } The previous css seems minor enough, but, this declaration affected the Google Map on the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,22,6],"tags":[],"class_list":["post-533","post","type-post","status-publish","format-standard","hentry","category-css","category-google-map","category-wordpress"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/posts\/533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/comments?post=533"}],"version-history":[{"count":1,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/posts\/533\/revisions"}],"predecessor-version":[{"id":537,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/posts\/533\/revisions\/537"}],"wp:attachment":[{"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/media?parent=533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/categories?post=533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/tags?post=533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}