On the contact page for desktop there is no map displayed but on mobile screen a map is displayed. I want no map on mobile version.
Hi,
Are you using a cache plugin?
If yes, clear your cache content.
You will also need to clear your browser history on mobile and desktop.
So that you can see the same thing on both devices.
Thank you.
Yes, I am using a cache plugin. I have cleared it and the browser cache.
Same results.
I can also just slowly minimize the desktop screen and watch the map appear when it gets smaller.
probably you’ve tried to define a Custom CSS, which is wrong, correct code is:
@media only screen and (min-width: 640px)
.page-template-contact-php #gmap {
height: 270px !important;
}
😉
Thanks but how do I remove the map. I do not want the map displayed on mobile or anywhere. Now it is only on mobile.
Hi,
Please use the following in Theme Options -> Custom CSS
.page-template-contact-php #gmap {
display: none !important;
}
Thank you
Works great, thanks.
also leaving this field empty Theme Options -> Contact -> Google Map Address will disable the map or uncheck Theme Options -> Advanced -> Enable Google Map Scripts 😉
Thanks, good stuff.
The topic Map on mobile contact page but not on desktop is closed to new replies