Getting rid of region in addresses

This topic contains 5 replies, has 2 voices, and was last updated by  Kor 6 years ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #458175

    edge
    Buyer
    Post count: 191

    Hi, i do not want to show the region in the listings. Only city and Country. See here: https://screencast.com/t/FJJneZhYxL1w

    How could that be done?

    #458183

    Kor
    Moderator
    Post count: 16516

    Hi edge,

    Thanks for your reply. Unfortunately, regions are a required field. Maybe we can hide it using custom CSS code. Could you share your Website URL here in private reply?

    Thanks!

    #458194

    edge
    Buyer
    Post count: 191
    This reply has been marked as private.
    #458199

    Kor
    Moderator
    Post count: 16516

    Hi Edge,

    Try using the custom CSS code below and see if it’s what you’re looking for. Insert into Gd > Design > Scripts > Custom Style CSS

    
    
    span[itemprop="addressRegion"] {
        display:none!important;
    }
    
    .geodir-field-address br:nth-child(5) {
        display:none!important;
    }
    #458316

    edge
    Buyer
    Post count: 191

    Thank you. i am using V2. is there a section in the setting where i can enter the CSS like in v1? i cant find it.

    #458321

    Kor
    Moderator
    Post count: 16516

    Hi Edge,

    Custom CSS can now be added via WordPress customizer.

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount