Map search box in the way of InfoWindow on smartphone

New home Forums Pro Add-on General queries Map search box in the way of InfoWindow on smartphone

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #72739
    rudiklein
    Participant

    Hi,

    I have a small issue with the store locator search box getting in the way of an InfoWindow on smartphones. I’ve tried to set the search box setting “Store Locator Placement” to below map, but to no avail. Are there some other map settings that prevent the search box to stay put on top?

    The page is located here: https://safelaceindustrial.eu/sales-partners-maps/

    What would be to proper solution? Some custom CSS?

    Thanks,

    Rudi

    • This topic was modified 1 year, 5 months ago by rudiklein.
    Attachments:
    You must be logged in to view attached files.
    #72747
    Steven
    Moderator

    Hi Rudi,

    Thank you so much for getting in touch, we really appreciate your time.

    Could I kindly ask you to navigate to -> Maps -> Settings -> Advanced Settings -> Please paste on of the following snippets in the custom CSS field and save the settings.

    If you would like this to always apply to your map:

    .wpgmza-modern-store-locator {
    z-index: 0;
    position: absolute;
    left: 356px;
    bottom: 14px !important;
    top: unset !important;
    }

    If you would only like this to apply on mobile devices only:

    @media only screen and (max-width: 600px) {
    .wpgmza-modern-store-locator {
    z-index: 0;
    position: absolute;
    left: 356px;
    bottom: 14px !important;
    top: unset !important;
    }
    }

    Copy either of the above snippets and paste these into the custom CSS field and let me know if this works for you?

    Kindest Regards,
    Steven De Beer

    #72782
    rudiklein
    Participant

    Steven,

    Thanks for the swift reaction.

    Your solution works like a charm!

    Bye,

    Rudi

    #72793
    Steven
    Moderator

    Hi Rudi,

    Thank you so much for getting back to me.

    Not a problem at all, I am glad this has helped. 🙂

    If you ever have two minutes spare, please consider reviewing the plugin on Twitter @WPGMaps or if you don’t use Twitter on https://wordpress.org/support/plugin/wp-google-maps/reviews/#new-post it would mean the world to me! (If possible, could I ask you to mention both your name and mine in the review for administrative purposes, this would be a tremendous help!)

    Do have a great week ahead!

    Kindest Regards,
    Steven De Beer

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.