• Resolved dusterthomas

    (@dusterthomas)


    All of my places are in the same street, so I only want the street address to show on the detail page.
    I added the code below to my child theme’s css, but the locality, postcode, region and country are still showing. Hope you can help and thanks,

    span[itemprop=”addressLocality”],
    span[itemprop=”postalCode”],
    span[itemprop=”addressRegion”],
    span[itemprop=”addressCountry”],{display:none;}

    https://www.ads-software.com/plugins/geodirectory/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Paolo

    (@paoltaia)

    We would need to check the website to inspect the css.

    Link please?

    Thread Starter dusterthomas

    (@dusterthomas)

    I’m starting to work on a new site to replace my old Geotheme site. I’ve only added a few places so far, so have put them in the main menu for you to see. Only one (Art Viva) is showing a postcode (I don’t know why) and all are showing City, Region and Country.

    thank you

    Plugin Author Paolo

    (@paoltaia)

    hi,

    I don’t see the custom css anywhere, it looks correct to me, except the last comma before the {display:none;} part.

    Removing that should make it work.

    If you register on our forum and create a topic about this https://wpgeodirectory.com/support you can reply to your own topic (setting the reply as private) adding your link and admin credentials and we will follow up from there.

    Without seeing the dashboard it’s impossible to do more.

    Let us know,

    Thanks

    Thread Starter dusterthomas

    (@dusterthomas)

    Hi Paolo,

    Sorry, for some reason, my Directory Starter child theme isn’t working, however, I also have Divi theme with a child theme and it now works by removing the last comma as you’ve suggested.

    Thanks for your help!

    Plugin Author Paolo

    (@paoltaia)

    you are welcome ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘hiding part of the address on detail page’ is closed to new replies.