Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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,
    Dick

    #938190

    Hi Dick,

    It’s how wordpress designed it, you can use a Separator/Whitespace instead for that. Hope this information helps :)

    Best regards,
    Nikko

    #938217

    Rather strange but a line with <strong> </strong> is doing the trick too….

    • This reply was modified 6 years, 8 months ago by dickbins.
    #938252

    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

    #938304

    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

    #938547

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.