Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter tamarakorr

    (@tamarakorr)

    Oops, the title should say ‘Lots of extra p and br tags in inserted form’.

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hi Tamara,

    Are you using a page builder plugin, or does your theme have page builder capabilities built into it? Sometimes these insert extra <p> and <br /> tags.

    Let me know.

    Thank you!
    -Tracy

    Thread Starter tamarakorr

    (@tamarakorr)

    We are using Visual Composer. Is there anything we can do? Thanks for your help.

    Plugin Author Evan Herman

    (@eherman24)

    Hi Tamarkorr,

    I’m not sure why visual composer would be wrapping hidden elements and html comments in <p> tags, but you should be able to hide them using the following but of CSS:

    .yikes-mailchimp-container p:nth-child(4),
    .yikes-mailchimp-container p:nth-child(5),
    .yikes-mailchimp-container p:nth-child(6),
    .yikes-mailchimp-container p:nth-child(7),
    .yikes-mailchimp-container p:nth-child(8),
    .yikes-mailchimp-container p:nth-child(9) {
       display: none;
    }

    If you add more fields to the form, you’ll have to go through and adjust the numbers inside of the (), but for what you have now – the code above should work just fine.

    Thanks,
    Evan

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hi Tamarkorr,

    Just checking in on this. Were you able to use the CSS Evan suggested?

    Unfortunately, without a copy of Visual Composer we can’t directly troubleshoot this. You could also try ting a ticket with them. If they say we need to make changes on our end to accommodate their page builder you can relay that info. to us.

    Thank you!
    -Tracy

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hi Tamarkorr,

    We haven’t heard back from you in awhile so I am going to close out this ticket.

    If you need more help, please reopen it and we will be happy to help you.

    Thank you!
    -Tracy

    Thread Starter tamarakorr

    (@tamarakorr)

    Apologies, I had to travel for a funeral and could not log in here on my laptop. This did mostly resolve the problem. Thanks for your help.

    I had the same problem when using SiteOrigin Page Builder. My solution was to add the shortcode in a simple text widget, with nothing else.

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Thank you for the tip!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Lots of extra and tags in inserted form’ is closed to new replies.