Paragraph tags being added

Home Forums Calendar Products Community Events Paragraph tags being added

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1141480
    Nate Seidel
    Participant

    Hello,

    When I am viewing my events in the list view are being added to between my address information created big spaces in between the event information. I have attached an image of what it looks into a reply.

    Thanks!

    #1141482
    Nate Seidel
    Participant

    This reply is private.

    #1141497
    Geoff
    Member

    Hey Nate,

    So sorry for the trouble here! I see exactly what you mean.

    That’s really odd because the plugin does not include those paragraph tags by default. Do you happen to see any difference if you head to Events > Settings > Display and switching the Events Template setting to the “Default Events Template” option? I’m hoping that does the trick.

    If it doesn’t then I think it will require either some custom CSS or input from the theme author to help figure out why those tags are being added. For example, this CSS might help:

    .tribe-events-venue-details .bdaia-post-content p {
    display: inline !important;
    }

    Let’s start there and see what we find. 🙂

    Cheers!
    Geoff

    #1141641
    Nate Seidel
    Participant

    Hey Geoff,

    Did that manage to fix the issue but I noticed all throughout the calendar are <p> tags everywhere that shouldn’t be there. I tried using:

    remove_filter(‘the_content’, ‘wpautop’);
    remove_filter(‘the_excerpt’, ‘wpautop’);

    But it’s not removing the <p> anywhere.

    Any idea?

    Thanks!

    #1141689
    Geoff
    Member

    Darn, I was hoping it was only isolated to the address.

    I would bet the theme author has a function to help strip out the paragraph tags. However, we could expand the CSS to apply to all event content:

    #tribe-events .bdaia-post-content p {
    display: inline !important;
    }

    That will have an effect across the entire calendar plugin. If that doesn’t quite do the trick, then let’s see what the theme author suggests from there.

    Thanks!
    Geoff

    #1150066
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Paragraph tags being added’ is closed to new replies.