Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Google Maps Plugin not working on mobile

Google Maps Plugin not working on mobile

Scheduled Pinned Locked Moved General Discussion
4 Posts 3 Posters 143 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FANER
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • F Offline
      F Offline
      FANER
      wrote on last edited by
      #2

      same issue with other Plug-In (DSGVO) also with Shortcode-Integration. Would be happy about a solution

      A 1 Reply Last reply
      0
      • F FANER

        same issue with other Plug-In (DSGVO) also with Shortcode-Integration. Would be happy about a solution

        A Offline
        A Offline
        antwal
        wrote on last edited by
        #3

        @FANER Hi I saw that you solved it on your site, which plugin did you use?

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          šŸ’æ Email me here: šŸ’æ
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. 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:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search