I am creating a layout and there are some elements that may be inserted by Enfold breaking my layout.
Here it is:
<section class="av_textblock_section " itemscope="itemscope" itemtype="https://schema.org/CreativeWork">
<div class="avia_textblock " itemprop="text">
<p> <br> </p> <------------------------- P with break inserted by Enfold
<div class="post-title">
<h2 class="entry-title">
My Title Here
</h2>
</div>
<br> <------------------------- Break inserted by Enfold
<div class="post-content">
My Content Here
</div>
<p></p> <------------------------- P inserted by Enfold
</div>
</section>
So that extra paragraphs and line breaks are causing my style to break.
I am using some shortcodes in the page and I am also looking to see if those are the ones inserting it. I will update the post as soon as I get a response.
But I wanted to ask here as well in case it is actually coming from Enfold.
Thanks.
Hi peterolle,
The text/visual editor in Enfold is using WordPress’ editor.
When there’s space in your visual editor, wordpress adds those extra html tags.
You can test this by using a default wordpress theme and the default classic editor.
Best regards,
Nikko