Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM Changing size, fields, centering on property in map area Reply To: Changing size, fields, centering on property in map area

#28163

Anna
Keymaster

Hi Rob,

I think you refer all questions to Infobox and Maps pin position. Please see my reply below:

— adjust the large size of the text + graphic to make it less wide.

—-> You can to modify this from CSS. Use this CSS for reference

.info_details {
margin: 0px 0px 0px 0px;
width: 670px;
max-width: 670px;
margin-top: -435px;
position: absolute;
background: #ffffff;
box-shadow: 3px 5px 13px 0px rgba(29, 29, 29, 0.2);
margin-left: -90px;
}

http://wpestate.org/forums/topic/property-google-maps-change-height-and-info-box-size/

– change the fields that are returned in the text area of the property on the map. I’d like to just show price, rooms and bedrooms.

—-> Use this forum for instructions http://wpestate.org/forums/topic/remove-category-and-action-from-infobox/

– adjust the centering of the property on the map. From reading the forums I was able to successfully remove the featured image of the property on the map with CSS (display:none). But now, the property falls a little too far down (south) in the initial view. So what I want to do is when an individual property is returned, is adjust the view of the map so it’s a little more south.

—-> You need to modify the each .js for this.
—-> I believe this forum post will help as example:

The property page google map js is in

wpestate/js/google_js/google_map_code_prop.js

Line responsible is (around line ~165(

map.panBy(380,vertical_pan);

Forum reference – http://wpestate.org/forums/topic/move-pin-default-position-on-property-page/

Thank you
Anna