WordPress.org

Ready to get started?Download WordPress

Forums

Google Maps Ready!
Map Width and Height Window (2 posts)

  1. walkfacefirst
    Member
    Posted 3 months ago #

    For some reason, my map does not stretch out to the width and height of the actual map.

    See the link below.

    http://occomputerman.com/?page_id=60

    Any feedback would be apperciated.

    https://wordpress.org/plugins/google-maps-ready/

  2. snowstar
    Member
    Posted 2 months ago #

    Well the fixed CSS in your HTML may have something to do with it:
    (Notice the 350 in height)

    <style type="text/css">
            #ready_google_map_1{
                width:700px;
                height:350px;
                float:right;
                border:0px solid  ;
                margin:0px;
            }
            #gmapControlsNum_1{
               width:700px
            }
    	#ready_google_map_1 .gmpMarkerInfoWindow{
    			width:700px;
    			height:350px;
    	}
    	.gmpMapDetailsContainer#gmpMapDetailsContainer_1{
    		height:350px;
    	}
    	.gmp_MapPreview#ready_google_map_1{
    		/*position:absolute;*/
    		width:100%;
    	}
    	#mapConElem_1{
    		width:700px;
    	}
       </style>

    You can override the plugin CSS by writing the same in an included CSS and adding !important afterwards. Like
    height:650px!important;

Reply

You must log in to post.

About this Plugin

About this Topic

Tags