-
AuthorPosts
-
April 6, 2018 at 10:00 am #938140
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,
DickApril 6, 2018 at 10:56 am #938190Hi Dick,
It’s how wordpress designed it, you can use a Separator/Whitespace instead for that. Hope this information helps :)
Best regards,
NikkoApril 6, 2018 at 11:38 am #938217Rather strange but a line with
<strong> </strong>is doing the trick too….-
This reply was modified 7 years, 7 months ago by
dickbins.
April 6, 2018 at 1:24 pm #938252Hi 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,
NikkoApril 6, 2018 at 4:58 pm #938304are 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
April 7, 2018 at 8:17 am #938547Hi 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 -
This reply was modified 7 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
