1

I have been trying to do this for a while with no result, can anyone tell me a way to hide the address bar on a this google maps iFrame? enter image description here

I have tried to hide it in our css using display:none; and this works when I inspect the element and change it there but whenever I add it into our css it just isn't having it!

<iframe src="https://www.google.com/maps/d/embed?mid=1bJn0zvKIJibY51hlco4ZbOBGek4" width="640" height="480"></iframe>

enter image description here this is the class for it, and when I change this here it works and no address bar is there but changing it in our style sheet wont change it.

we are using wordpress if thats and consolation.

venkatvb
  • 681
  • 1
  • 9
  • 24

1 Answers1

0

Due to some policy crap you can't change the CSS of an iframe which domain isn't the same as your website is... But try integrate the Google map with JavaScript. Here's the Google reference: https://developers.google.com/maps/documentation/javascript/adding-a-google-map Good luck :)

Tobias Glaus
  • 3,008
  • 3
  • 18
  • 37