Dear,
If I add test to a page or post in the backend and I use line breaks, those line breaks are not visible in the front end?
How can I fix this .
you can add in text modus : <br class="noclear"/>
With a little plugin you can create your own buttons on visual mode that inserted these breaks f.e.
( Visual Editor Custom Buttons)
you can have then own icons on those buttons etc.:
Hi,
Thank you for your reponse. However this simply add an extra white space above the text
As there is lot of content and it is managed by customer, I can not provide a solution which beholst add everywhere some kind of shortcode of string.
It found it particuliar strange you can not edit text in the back end and show it exactly the same in front end?
The autop function and the removal of line breaks is a WordPress peculiarity. I’ll just show you how to get around it. That’s all.
The one with the small plugin is to be set up once, then also the one who manages to make a font bold can insert such a linebreak into the text editor, which doesn’t disappear.
I know and I appreciate your help.
However it seems the visual editor simply does not save any <p> or <br>, besides the fact it would be great if all would be shown the same (front end vs back end)
Hi badoes,
The Advanced Layout Builder has the hr element that can be used for adding space, also it is still better to use margins or paddings added via css.
Best regards,
Victoria
This was due to bad code in the back end files:
.avia_textblock p {
margin: unset !important;
}
Solved now.
Hi badoes,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria