Hide Address Details

This topic contains 5 replies, has 3 voices, and was last updated by  Richard Stuart 5 years ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #482633

    Richard Stuart
    Full Member
    Post count: 45

    I’m trying to only display the street address as my directory is local although I want to ensure I have all of the address details when a place is entered into the CMS.

    I tried using this custom CSS

    
    .geodir_post_meta  addressLocality{display: none !important;}
    .geodir_post_meta  addressRegion{display: none !important;}
    .geodir_post_meta  postalCode{display: none !important;}
    .geodir_post_meta  addressCountry{display: none !important;}
    

    What am I missing as I can still see the whole address block?

    #482651

    Kor
    Moderator
    Post count: 16516

    Hi Richard Stuart,

    Thanks for your post. Could you highlight it using screenshot and also share the URL of the page in question?

    #482679

    Richard Stuart
    Full Member
    Post count: 45
    #482681

    Richard Stuart
    Full Member
    Post count: 45
    http://elyitedev.wpengine.com/places/please-touch-museum/
    #482688

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    there is a new element for controlling the address, GD Post Address.
    Try adding that to the sidebar in your widget settings and set it up with the address format the way you want.
    https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/#gd_post_address

    #482692

    Richard Stuart
    Full Member
    Post count: 45

    Sweet. Thanks Alex.

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

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

Open Support Ticket