Your address will show here +12 34 56 78

Home Forums WP Estate -Remove Category and Action from infobox

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 3 years, 10 months ago.

  • Author
    Posts
  • #14404

    Anna
    Keymaster

    To have just the price in info box, follow below guidelines:

    – js/google_js/google_map_prop_code.js – line 158

    replace:
    infoBox.setContent(‘<div ><span id=”infocloser” onClick=\’javascript:infoBox.close();\‘ ></span><a href=”‘+this.link+'”>’+info_image+'</a><a href=”‘+this.link+'” id=”infobox_title”>’+this.title+'</a><div ><span id=”info_inside”>’+type+in_type+type2+this.price+'</span></div>’ );

    with:
    infoBox.setContent(‘<div ><span id=”infocloser” onClick=\’javascript:infoBox.close();\‘ ></span><a href=”‘+this.link+'”>’+info_image+'</a><a href=”‘+this.link+'” id=”infobox_title”>’+this.title+'</a><div ><span id=”info_inside”>’+this.price+'</span></div>’ );

    – js/google_js/google_map_code_home.js – line 161

    replace
    if(event===’touchstart’){     //alert(‘touch’);
    infoBox.setContent(‘<div ><span id=”infocloser” onClick=\’javascript:infoBox.close();\‘ ></span>’+info_image+'<a href=”‘+this.link+'” id=”infobox_title”>’+this.title+'</a><div ><span id=”info_inside”>’+type+in_type+type2+this.price+'</span></div>’ );
    }else{
    infoBox.setContent(‘<div ><span id=”infocloser” onClick=\’javascript:infoBox.close();\‘ ></span><a href=”‘+this.link+'”>’+info_image+'</a><a href=”‘+this.link+'” id=”infobox_title”>’+this.title+'</a><div ><span id=”info_inside”>’+type+in_type+type2+this.price+'</span></div>’ );

    with

    if(event===’touchstart’){     //alert(‘touch’);
    infoBox.setContent(‘<div ><span id=”infocloser” onClick=\’javascript:infoBox.close();\‘ ></span>’+info_image+'<a href=”‘+this.link+'” id=”infobox_title”>’+this.title+'</a><div ><span id=”info_inside”>’+this.price+'</span></div>’ );
    }else{
    infoBox.setContent(‘<div ><span id=”infocloser” onClick=\’javascript:infoBox.close();\‘ ></span><a href=”‘+this.link+'”>’+info_image+'</a><a href=”‘+this.link+'” id=”infobox_title”>’+this.title+'</a><div ><span id=”info_inside”>’+this.price+'</span></div>’ );

    – js/google_js/google_map_code.js – line 254

    replace
    infoBox.setContent(‘<div><span id=”infocloser” onClick=\’javascript:infoBox.close();\‘ ></span><a href=”‘+this.link+'”>’+info_image+'</a><a href=”‘+this.link+'” id=”infobox_title”>’+this.title+'</a><div ><span id=”info_inside”>’+type+in_type+type2+this.price+'</span></div>’ );

    with

    infoBox.setContent(‘<div><span id=”infocloser” onClick=\’javascript:infoBox.close();\‘ ></span><a href=”‘+this.link+'”>’+info_image+'</a><a href=”‘+this.link+'” id=”infobox_title”>’+this.title+'</a><div ><span id=”info_inside”>’+this.price+'</span></div>’ );

    ————————-

    If you want to remove all info, including price, use this CSS in Theme Options – Design – Custom CSS:

    #info_inside {
    display:none;
    }

    Thank you
    Anna

You must be logged in to reply to this topic.