Import CSV or other -> Address Info box (multi line address)

New home Forums Gold Add-on Import CSV or other -> Address Info box (multi line address)

This topic contains 8 replies, has 2 voices, and was last updated by  chinjazz 6 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #50215

    chinjazz
    Member

    Hello All,

    I searched thru the support form and didn’t find what I was looking for.
    I think this must have come up as an inquiry at some point 🙂

    I’m massaging all my raw data to be imported, and looking for a solution or guidance where for the Address’s that I have will display in the info box with line breaks. I already have lat/lon coords from our prior map.

    Examples of what I’m looking for in the info box:

    180 Carpenter Avenue
    Middletown, New York 10940
    United States
    Phone: (845) 234-2345

    or

    51 St-Antoine Street W
    Montreal Quebec H2Z 1G9
    Canada
    Phone: (514) 333-3312

    I’ve played around with using “option + return” in excel which shows up as a “<br />” in the Address/GPS field in the marker.

    Is it better to stuff the real address into the Description field or there’s a better way to get this to work?

    Thanks so much for your help!
    Adam

    #50217

    chinjazz
    Member

    I also tried a json file with the same results..

    #50218

    chinjazz
    Member

    Based on what I read, my path to success will be:

    1. Import address into Description field with any html formatting
    2. Disable Showing Address in InfoWindow

    #50220

    SupportTeam
    Moderator

    Hi there,

    Thank you so much for getting in touch with us.

    In this case it would be best to format the address as you’d like in the description column, and leave the address as a a single line in the address column.

    Then there is a “Hide the address field” setting in Maps -> Settings -> InfoWindows which you can use to hide the address so you’ll only see the formatted address in the description.

    Thanks so much,

    Kind regards,
    Trevor Anderson

    #50221

    chinjazz
    Member

    Thanks Trevor!

    On a side note, is there a way to decrease the font size of the Marking Listing title, or content rows?

    I would think so, but I figured it wouldn’t hurt to ask 🙂

    Thanks,
    Adam

    #50222

    SupportTeam
    Moderator

    Hi there,

    You would need to do this through custom CSS in Maps -> Settings -> Advanced in the Custom CSS field:

    .wpgmza_infowindow_title {
    font-size: 12px;
    }
    .wpgmza_infowindow_address {
    font-size: 12px;
    }
    .wpgmza_infowindow_description {
    font-size: 12px;
    }

    Thanks so much,

    Kind regards,
    Trevor Anderson

    #50223

    chinjazz
    Member

    Thanks Trevor!

    #50224

    SupportTeam
    Moderator

    Hi there,

    No problem. If you have any other questions please let me know.

    If you ever have two minutes spare, please consider reviewing the plugin on https://wordpress.org/support/plugin/wp-google-maps/reviews/#new-post it would mean the world to me! (If possible, could I ask you to mention both your name and mine in the review for administrative purposes, this would be a tremendous help!)

    Thanks so much,

    Kind regards,
    Trevor Anderson

    #50245

    chinjazz
    Member

    Hey Trevor,

    Consider it done:

    https://wordpress.org/support/topic/great-product-company-team/

    I did have one related question.. As I was modifying my map yesterday I thought:
    “Wouldn’t it be nice to be able to style the List Marker grid (below)” – specifically the font size of the Column Titles, and the font sizes of the data (rows).

    Ex: https://www.wpgmaps.com/demo/map-with-markers-listed-below-advanced/

    Are there any CSS attribute values that are exposed for use?

    My apologies in advance, if this is listed in documentation, or here on the forum.

    Thanks, and have a great day!

    Adam

    #50246

    SupportTeam
    Moderator

    Hi there,

    Sure, you can try the following CSS in Maps -> Advanced in the Custom CSS field:

    For column titles.

    .wpgmza_table th {
    font-size: 12px;
    }

    For column data.

    .wpgmza_table td {
    font-size: 12px;
    }

    Thanks so much,

    Kind Regards,
    Trevor Anderson

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.