Address Formatting On Listing Detail

This topic contains 8 replies, has 2 voices, and was last updated by  Gary Jones 7 years, 10 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #356161

    Gary Jones
    Free User
    Post count: 114

    I did find an earlier post about changing the format of the address. My issue is that I am designing sites for a country that has few actual physical addresses and no zip codes. An address can be “across from the white church at the corner”. There are some actual addresses so I need to be able to deal with both. Map pins are normally placed by taking the GPS coordinates when our rep is there.

    I am asking if the format could be:

    ADDRESS
    1945 Perdro Moncano Street,
    CITY
    [two or three line field to be able to enter a description]

    Thank you!

    #356217

    Kor
    Moderator
    Post count: 16516

    Hi Gary,

    That address format can be changed using custom CSS. Follow this guide to learn more about tweaking CSS https://wpgeodirectory.com/docs/customizing-your-style/ .

    Thanks!

    #356327

    Gary Jones
    Free User
    Post count: 114

    Yes, I read that article before posting and think I’ve got it okay with the exception of the field that would allow a brief description. My issue with that is I have no idea what it would be called or how to format it properly.

    Appreciate any help.

    #356328

    Kor
    Moderator
    Post count: 16516

    Hi Gary,

    Do you mind sharing the Website URL in question so we can tell you the correct CSS snippet to do this?

    Thanks!

    #356329

    Gary Jones
    Free User
    Post count: 114
    This reply has been marked as private.
    #356330

    Kor
    Moderator
    Post count: 16516

    Please share the login URL and also the URL of the site in question.

    Thanks!

    #356331

    Gary Jones
    Free User
    Post count: 114
    This reply has been marked as private.
    #356341

    Kor
    Moderator
    Post count: 16516

    Hi Gary,

    Try using the custom CSS code below and see if it’s what you’re looking for. This is how it’s going to look like http://prntscr.com/e5muxv

    
    
    span[itemprop="addressCountry"] {
    display:block;
    }
    
    span[itemprop="streetAddress"] {
    margin-right:3px;
    }
    
    span[itemprop="addressLocality"]:after {content: ", ";}
    span[itemprop="addressRegion"]:after {content: " ";}
    
    div.post_address br {
    display: none;
    
    }
    
    .geodir-company_info .geodir-i-location{
    display:block;
    }
    #356343

    Gary Jones
    Free User
    Post count: 114

    Thanks so much, but your screenshot doesn’t show any comment field, although it appears to be in the code. Is that correct?

Viewing 9 posts - 1 through 9 (of 9 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