How to remove country from Directory Listing Detail Page

This topic contains 2 replies, has 2 voices, and was last updated by  Barbara Magee 4 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #523792

    Barbara Magee
    Expired Member
    Post count: 146

    We are exclusively a U.S.-based directory so we don’t need to display the United States in the address on the Directory Listing Detail page. What is the way we can prevent that from displaying on the front end? Is there a setting? See attached inspector screenshot.

    Thanks very much!

    #523800

    Kor
    Moderator
    Post count: 16516

    Hi Barbara,

    Thanks for your post. We can try using this using custom CSS code below. Insert into WP > Appearance > Customize > Additional CSS

    
    
    span[itemprop="addressCountry"] {
       display:none!important;
    }
    #523897

    Barbara Magee
    Expired Member
    Post count: 146

    Thanks, Kor! That solved it! Appreciate your assistance. Have a great day!

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