Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #287627

    Hi, It seems those really simple questions create the most headaches. I have searched the web but every one seems to have the same problem.

    How do you place a blank line in a text box. ie…..
    text
    blank line
    text

    HTML seems to ignore <br> or ,<br/><br/> <p> or <p> </p> and any other work around I seem to come up with..any ideas?
    Regards
    Richard

    #287633

    Hey Richard!

    We are aware of that annoyance and we are looking for a fix. Here’s a workaround in the meantime; put this in your theme / child theme functions.php file:

    function av_br_func(){
    	return "<p>&nbsp;</p>";
    }
    add_shortcode('av_br', 'av_br_func');

    Then simply put [av_br] where you want to have a double break line:

    Best regards,
    Josue

    #287645

    Hi Josue

    Thanks for that
    Regards
    Richard

    #287649

    You are welcome Richard, always glad to help :)

    Regards,
    Josue

    #287679
    This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Blank line in text box’ is closed to new replies.