OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

Joomla Real Estate

Go to bottom Favoured: 0

Google map width

sparada (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
google map width 12 Years ago
Karma: 0  
How I change the map Width to 100% in :

category view
Detail view

Thank in advance.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:google map width 12 Years ago
Karma: 102  
Hello,

for extend map in Real Estate manager Pro version for Category layout you need open file:
{yours site}/components/com_realestatemanager/realestatemanager.html.php

there are in function: displayHouses
found row:
Code:

<div id="map_canvas" style="width:400px; height:300px; border: 1px solid black; float: left;"></div>


and replace it to
Code:

<div id="map_canvas" style="width:100%; height:300px; border: 1px solid black; float: left;"></div>




for extend map in Real Estate manager Pro version for Detail view you need open file:
{yours site}/components/com_realestatemanager/realestatemanager.html.php

there are in function: displayHouse
found row:
Code:

<div id="map_canvas" style="width:400px; height:300px; border: 1px solid black; float: right;"></div>


and replace it to
Code:

<div id="map_canvas" style="width:100%; height:300px; border: 1px solid black; float: right;"></div>


also you need in yours CSS add so rows:
Code:

div#main table {
width:100%;
}



But first please back up yours files

Thanks,
Ordasoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»