• Hi Support,

    Hope you are doing well, I have the following issue, I am getting a p tag included almost to every new Item i am adding to the content, where I did not place them.
    by example:
    if I put a button, like
    <button>…</button>, the the makes it,
    <p><button>…</button></p>

    or if you have a p tag it self it put an extra p tag before it like this:
    <p>…</p>
    becomes
    <p>…</p>
    <p>…</p>

    How can I avoid this extra p’s?

    Thanks,
    EzVirtue

Viewing 7 replies - 1 through 7 (of 7 total)
  • This happens if you have an open p tag somewhere in your site, probably in the topbar..
    But you would have to post a link for me to look. Either way, check your site, somewhere you have a p tag that opens: <p>but doesn’t close: </p>.

    Kadence Themes

    Thread Starter Commandanti

    (@commandanti)

    Hi Kadence themes, thank you for your answer, I have been walking through the site and I can’t find and open p tag for so far, which should should cause the issue of getting additional p tag surrounding the elements, see intro text.
    please see site demo: http://www.healthfab.nl

    Hope you can assist here.
    Thanks,
    EzVirtue

    I see two paragraphs in your intro text? If you want a line in-between without closing a paragraph tag you have to use
    . Is that your issue?

    Kadence Themes

    Thread Starter Commandanti

    (@commandanti)

    Hi Kadence Support,

    Thank you for your answer, unfortunately it is not really clear what you are meaning, I am still facing the issue, please see screenshot:
    http://screencast.com/t/NosmRksNR
    I have not included these p tags, they get some how added, what could cause this, and it is very annoying as it is disorting my layout and functionality purposes.

    Thanks you for assisting,
    EzVirtue

    Hey,
    1. Are you using the text tab in the editor? And are you pasting code into it? Pasting can often cause issues so you need to make sure your pasting correctly.
    2. Are you switching from visual to text tabs ever? With that much html you shouldn’t because it then gets translated by tinymce.
    3. You can also try working with your html outside the tinymce editor by using a plugin like this:
    https://wordpress.org/plugins/insert-html-snippet/screenshots/

    Kadence Themes

    Thread Starter Commandanti

    (@commandanti)

    Hi Support,

    Thank you for your answer, but I have checked all those things, and I followed them up correctly as well wrote the code self instead of copying and pasting.

    I am really lost, how can we get this fixed.?

    Cheers,
    EzVirtue

    So you tried option 3? And can you link to a page with it?

    Kadence Themes

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Getting a p tag for every new line’ is closed to new replies.