New home › Forums › Pro Add-on › General queries › Map search box in the way of InfoWindow on smartphone
Tagged: infoWindow, map view, Search box
- This topic has 3 replies, 2 voices, and was last updated 1 year, 5 months ago by Steven.
-
AuthorPosts
-
April 5, 2022 at 4:20 pm #72739rudikleinParticipant
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.April 6, 2022 at 3:27 pm #72747StevenModeratorHi 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 BeerApril 9, 2022 at 8:53 pm #72782rudikleinParticipantSteven,
Thanks for the swift reaction.
Your solution works like a charm!
Bye,
Rudi
April 11, 2022 at 9:19 am #72793StevenModeratorHi 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 -
AuthorPosts
- You must be logged in to reply to this topic.