Address displayed as multiple paragraphs

Home Forums Calendar Products Events Calendar PRO Address displayed as multiple paragraphs

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1210162
    bunyaadrugs
    Participant

    Hi,

    As you can see on the attached image the addresses for our venues are showing up as multiple paragraphs. Each line is surrounded by paragraph tags and the city – state – zip all have their own p tags. I’ve looked at the php file and can see that my theme might pull this in like this and add all the p tags because of my WordPress settings (add automatic p when a there is double line break).

    How can I get the address lines to show up on one line for city-state-zip and the rest just with a single line break instead of extra p tags? Would this be possible by formatting the php file for modules/address.php so that the if statements line up side by side and not with double line breaks as they are now?

    Take a look at one of our events:
    http://rugs.tenthousandvillages.com/event/rug-event-pasadena-ca/

    Thanks, Heike

    #1210595
    Nico
    Member

    Hi there Heike,

    Thanks for getting in touch with us! I can help you here ๐Ÿ™‚

    Seems like your theme might be adding those p tags, as I’m not seeing the same result in my local test site using a default theme (like Tweenty Sixteen). Can you please follow the steps described in our Testing for conflicts guide? This way we can see if this is a problem in our plugin or a conflict with the theme or other installed plugins.

    For now you can add the following CSS snippet to your theme (or child theme) stylesheet or via Simple Custom CSS plugin make this right:

    .tribe-address p {
    display: inline;
    }

    Please let me know about it,
    Best,
    Nico

    #1212551
    bunyaadrugs
    Participant

    I do believe my theme is adding those extra p tags. The CSS snippet worked like a charm. Thanks so much, Nico.

    #1212682
    Nico
    Member

    Stoked to hear the snippet worked for you Heike ๐Ÿ™‚

    It might be a good idea to reach out to the theme support and report this, maybe they can fix it in a future update.

    Iโ€™ll go ahead and close out this thread, but if you need help with anything else please donโ€™t hesitate to create a new one and we will be happy to assist you.

    Best,
    Nico

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Address displayed as multiple paragraphs’ is closed to new replies.