CMS Development

Sydney
Member

Google Maps Smart Variation Not Working for Mobile

SOLVE

https://www.halodx.com/locations

 

I created a new page on our site with an embedded google map using the HTML module. I have smart variation rules set up  - everything works perfectly to change size when on mobile except the map size does not change.  How can I fix this?

0 Upvotes
1 Accepted solution
TRooInbound
Solution
Key Advisor

Google Maps Smart Variation Not Working for Mobile

SOLVE

Hi @Sydney 

 

In CSS please add this line, it will fix this issue.

iframe {
    width: 100% !important;
}

We hope it works for you.

Did our post help answer your query? Help the community by marking it as a solution.

 

Thanks,

Team TRooInbound

View solution in original post

1 Reply 1
TRooInbound
Solution
Key Advisor

Google Maps Smart Variation Not Working for Mobile

SOLVE

Hi @Sydney 

 

In CSS please add this line, it will fix this issue.

iframe {
    width: 100% !important;
}

We hope it works for you.

Did our post help answer your query? Help the community by marking it as a solution.

 

Thanks,

Team TRooInbound