Remove margins around Google Maps on Wix website

  • Issue description:

I’ve embedded the Google Maps widget on my Wix website. Despite stretching the element to full screen and setting the margin to 0 px, it is still showing a small margin around the map, both horizontal and vertical. I’d like to completely remove this margin, but don’t know how.

Thank you for your help!


1 Like

Hi @Nick_TheGrandTrail and welcome to the Community :wave:

I’ve shared your request with the devs and will get back to you once I receive a response from them :slightly_smiling_face:

1 Like

Hi there :wave:

Thank you for waiting!

The issue occurred because of the default browser styles. We’ve fixed it by adding this code to the Custom CSS field on the Appearance tab of your widget’s settings:

html, body {
  margin: 0;
  padding: 0;

Check it out and let me know if it’s fine on your end :slightly_smiling_face:

Yes, that fixed it. Thank you!

1 Like

Great! You are welcome :slightly_smiling_face: