Reply To: Infowindow's width

Home Forums MapPress Support Infowindow's width Reply To: Infowindow's width

#11459
Chris
Keymaster

    Hi,

    Google sets the infowindow size based on the map width and the content of the infowindow.

    To prevent it from getting too big, I think you can add this to your “styles.css” of your theme:

    .mapp-body {
    max-width: 300px;
    }

    When using images, try to use image thumbnails, not the whole image – they’ll load faster.  Try making a ‘thumbnail’ for each image and inserting that into the POI rather than the original image.

    Also, Google sometimes gets confused about the image size.  You can specify the size in your <img> tag:

    <img src=”myimage” style=”width:128px; height: 128px;” />

    Or, add this to your “styles.css”:
    .mapp-body img {
    width: 128px;
    heigh: 128px:
    }