Erik Dahl Posted January 4, 2011 at 09:40 AM Share Posted January 4, 2011 at 09:40 AM Hi, I'm customizing the list-page to show the map below the pagination. This worked just fine until i tried setting the map-width to 100%. Then it only shows white area where the map is supposed to be. If i change the width to a set amount (eg. 400), the map displays fine. This is my modification so far: I copied the geomaps theme and created my own. In the listings_blogview.thtml file I moved the map-bit to just below the pagination. I have altered the geomaps.css as follows: div#gm_listingColumn { border-right: 1px solid #ccc; padding: 0pt 5px; width: 100%; float: left; display: inline; } div#gm_mapColumn { top:0; right:0; height:100%; display: block; } This is my listings_blogview.thtml file snippet where the map is put: ... <!-- PAGINATION ENDS HERE --> <?php endif;?> <!-- BEGIN MAP --> <div id="gm_mapColumn"> <?php echo $this->renderControllerView('geomaps','map_results',array('width'=>'100%','height'=>'300'));?> </div> <!-- END MAP --> ... Any ideas to why the width 100% is not working and width 400 is working fine? Thanks! Link to comment
Kristian Posted January 4, 2011 at 11:53 AM Share Posted January 4, 2011 at 11:53 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Erik Dahl Posted January 4, 2011 at 12:20 PM Author Share Posted January 4, 2011 at 12:20 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Kristian Posted January 4, 2011 at 12:47 PM Share Posted January 4, 2011 at 12:47 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Erik Dahl Posted January 5, 2011 at 10:44 AM Author Share Posted January 5, 2011 at 10:44 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Kristian Posted January 5, 2011 at 11:33 AM Share Posted January 5, 2011 at 11:33 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts