I got this strange problem adding a blank line in a tekst block, after saving it simply disappears. I have the same problem in the visual view and in the tekst view adding a <br>
Is this a setting or am I doing something wrong?
Thanks,
Dick
Hi Dick,
It’s how wordpress designed it, you can use a Separator/Whitespace instead for that. Hope this information helps :)
Best regards,
Nikko
Rather strange but a line with <strong> </strong>
is doing the trick too….
Hi Dick,
I’m not really sure regarding that, but that sure is something. If you need help with some spacing, just let us know and give us a link to your page and we’ll try to help you as much as we can :)
Best regards,
Nikko
are you realy shure it is a br ?
The auto p function of wordpress is sometimes the reason for having “blank lines”
you can deactivate it generally in functions.php of your child-theme:
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
or you goto enfold shortcodes: textblock.php
and find:
$params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(wpautop(trim(html_entity_decode( $params['content']) )))."</div>";
and replace it with:
$params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(trim(html_entity_decode( $params['content']) ))."</div>";
on new Enfold it is on line 206
Hi dickbins,
I’m not sure if you need any further help on the topic? Please let us know if you should.
Thanks @guenni007 for sharing and helping out :-)
Best regards,
Rikard