Google Maps Smart Variation Not Working for Mobile

SOLVE
Highlighted
New Contributor

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?

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Highlighted
Solution
Regular Advisor

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
Highlighted
Solution
Regular Advisor

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