Google Maps Plugin not working on mobile
-
Hello
Currently I am working on an Website using Lay Theme.
Unfortunately I stumbled upon an issue with the integration of an Google Maps Plug-In via Shortcode. It works just fine on Desktop and Tablet but as soon as the Layout switches to Mobile the Map is not visible. I changed the Mobile break points to check and it clearly seems to have to do with the Mobile theme.You can check out the Problem here: https://www.z20.ch/de/map/
The Plug-In I am using is WP Google Map Plugin version 4.1.5
Maybe anybody has a Solution?
-
same issue with other Plug-In (DSGVO) also with Shortcode-Integration. Would be happy about a solution
-
Hey, probably the issue is he was using both a desktop layout and a custom phone layout on the same page while inserting the same short code.
You could just not use the custom phone layout, or create two different maps with two different shortcodes and insert one in the desktop layout and one in the phone layout. Maybe it has to do with this.
Because the thing is, if you create a desktop layout and a custom phone layout, those are two different markups that exist on the same page. Now, when you insert a shortcode, some plugins don't really output their content twice when you use the same shortcode twice on the same page. This could be an issue with the plugin's JavaScript where the plugin author simply didn't account for this possibility.
I also code custom websites or custom Lay features.
šæ Email me here: šæ
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options ā Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it