-
AuthorPosts
-
October 8, 2019 at 11:20 am #1146105
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 .October 8, 2019 at 11:54 am #1146117you 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.:
October 8, 2019 at 11:58 am #1146120Hi,
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?October 8, 2019 at 1:29 pm #1146166The 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.October 8, 2019 at 1:47 pm #1146171I 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)October 12, 2019 at 2:20 pm #1147353Hi 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,
VictoriaOctober 23, 2019 at 10:21 am #1150431This was due to bad code in the back end files:
.avia_textblock p {
margin: unset !important;
}Solved now.
October 23, 2019 at 8:21 pm #1150612Hi badoes,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.
