adding full address to map

This topic contains 7 replies, has 4 voices, and was last updated by  Guust 8 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #301813

    Sam
    Buyer
    Post count: 172

    Hi,

    So I read the post on adding the full address to the map and it’s not working for me. I added the following code to the custom CSS section and nothing changed:

    .geodir-bubble-meta-side .geodir_more_info.post span[itemprop=”streetAddress”] +br {display: initial;} /* Adds a line break after the street address */
    .geodir-bubble-meta-side .geodir_more_info.post span[itemprop=”addressLocality”] {display: initial;} /* Makes the city show */
    .geodir-bubble-meta-side .geodir_more_info.post span[itemprop=”addressLocality”]:after {content: “, “;} /* Adds a comma and a space after the city */
    .geodir-bubble-meta-side .geodir_more_info.post span[itemprop=”addressCountry”] {display: initial;} /* Makes the country show */
    .geodir-bubble-meta-side .geodir_more_info.post span[itemprop=”postalCode”] {display: initial;} /* Makes the postcode show */
    .geodir-bubble-meta-side .geodir_more_info.post span[itemprop=”addressRegion”] {display: initial;} /* Makes the region show */

    Is that the correct code to put the full address in the map bubble?

    Thanks!
    Sam

    #301835

    Kor
    Moderator
    Post count: 16516

    Hi Sam,

    Could you please share the post you’re referring to? I need to recap a little. Also, please provide Wp temp admin access in private reply.

    Thanks!

    #301846

    Guust
    Moderator
    Post count: 29970

    Did you follow the first part of the instructions at https://wpgeodirectory.com/docs/faqs/adding-full-address-in-map-bubble/
    In other words, did you make sure you added the address to the map bubble?

    #301953

    Sam
    Buyer
    Post count: 172
    This reply has been marked as private.
    #301973

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It looks like you have started editing this manually?

    The CSS should be

    
    
    .geodir-bubble-meta-side .geodir_more_info.post_address span[itemprop="streetAddress"] +br {display: initial;} /* Adds a line break after the street address */
    .geodir-bubble-meta-side .geodir_more_info.post_address span[itemprop="addressLocality"] {display: initial;} /* Makes the city show */
    .geodir-bubble-meta-side .geodir_more_info.post_address span[itemprop="addressLocality"]:after {content: ", ";} /* Adds a comma and a space after the city */
    .geodir-bubble-meta-side .geodir_more_info.post_address span[itemprop="addressCountry"] {display: initial;} /* Makes the country show */
    .geodir-bubble-meta-side .geodir_more_info.post_address span[itemprop="postalCode"] {display: initial;} /* Makes the postcode show */
    .geodir-bubble-meta-side .geodir_more_info.post_address span[itemprop="addressRegion"] {display: initial;} /* Makes the region show */

    Stiofan

    #302015

    Guust
    Moderator
    Post count: 29970

    I deactivate your code snippet “Full address on detail page”
    and changed the CSS to Stiofan’s code.

    #302235

    Sam
    Buyer
    Post count: 172
    This reply has been marked as private.
    #302414

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

    Let us know if there is a problem with the map bubbles.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount