-1
I added the iframe from a certain place on my site, but location information, and suggested routes, do not appear when viewed in mobile mode, seeing on mobile.
Here’s the way it appears on the phone:
Here’s the way I want it to appear when viewed on mobile:
The settings on style of the map not those:
<style>
.embed-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 500px;
}
</style>
iframe:
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3714.5088877509456!2d-48.50192088548785!3d-21.40923378579348!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x94b93967f68b2d9f%3A0x4fd97015c3d8cff5!2sGrande+Hotel+de+Taquaritinga!5e0!3m2!1spt-BR!2sbr!4v1512313658033"
width="100%"
height="450"
frameborder="0" style="border:0" allowfullscreen>
</iframe>
Thank you so much for clarifying this friend, I really did the test in landscape mode and the information even appeared.
– Johnny Rodrigues
@Johnnyrodrigues If you found the answer helpful, make sure to dial ✔
– Sam