Increase map size on contact page

Latest Reply from Alice at 2015-05-14 04:25:00
How can I increase the map size on the Contact us page?
To increase zoom you need to find the code:
<script>jQuery(function(){loadGMap('<?php echo $SMTheme->get( 'contactform','address' )?>', 'map_canvas', 16)});</script>

in the feedback.php file located inside the theme directory on your server and change "16". It is zoom attribute for this map.
Hi Alice, thank you for the reply, but I actually want the physical size (height) of the map to increase ... not the zoom factor
Oh, you will also need to edit this file for this purpose. Find the line above:
<div class='googlemap waiting'><div id="map_canvas" style="width: 100%; height: 300px;"></div></div>

and set height by yourself.

Leave a reply

Add codeAdd image