Removing country and zip from displaying

Home Forums Calendar Products Events Calendar PRO Removing country and zip from displaying

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1325400
    Dan
    Participant

    Is there a way to remove the country name and zip code from displaying in both the venue name and the display listing. We only have local events and it looks tacky displaying them since we only don’t do anything outside the US. Is there custom code we could add to remove them?

    Screenshots
    https://sanbenito.com/wp-content/uploads/2017/07/Screen-Shot-2017-07-24-at-9.48.37-AM.png
    https://sanbenito.com/wp-content/uploads/2017/07/Screen-Shot-2017-07-24-at-9.50.17-AM.png

    Also is there a way to add spaces by default between the location. It all runs together currently.
    Thanks,

    #1326056
    Geoff B.
    Member

    Good evening Dan and welcome back!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    Try adding the following CSS rule to your style.css file or in your Custom CSS metabox:

    .tribe-events-list .tribe-events-venue-details .tribe-postal-code, .tribe-events-list .tribe-events-venue-details .tribe-country-name, .tribe-events-event-meta address.tribe-events-address .tribe-postal-code, .tribe-events-event-meta address.tribe-events-address .tribe-country-name {display: none !important}

    .tribe-events-list .tribe-events-venue-details .tribe-region, .tribe-events-event-meta address.tribe-events-address .tribe-region {margin-left: 4px;}

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1336094
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Removing country and zip from displaying’ is closed to new replies.