Site logo

Archived topic

New Theme Breaks Text

9 replies · Started by Evan on November 11, 2020

Viewing posts 1–10 of 10

I upgraded a Wordpress site from maparaan theme to GP and the text on many of the pages had line breaks "<br>" inserted where there should not be any. In addition to that, sometimes the HTML showing the breaks would show up in the text view of the classic editor and sometimes no HTML was visible. I could always see that he breaks existed when inspecting the HTML through a web browser.
I was able to fix most of it by copying the text to a notepad text editor(when HTML tags showed up) and stripping out the line breaks and re-pasting into the classic editor but that is what I am trying to avoid in the future. Also, I need to stay with the classic editor for this site rather than blocks.
Any suggestions on what to look for or how to fix this? My partner has seen this as well on a different site with separate computer using a different browser.

Hi there,

Any chance you can link us to the site in question?

You can use the private information field.

Let me know :)

Hi Leo,

I sent the link in the private information field. Thanks for your help!

Are you referring to this?
https://www.screencast.com/t/330wQy1XYQ

The editor is handled by WordPress and the theme itself shouldn't be the issue.

Is your previous theme using the WordPress default editor?

Let me know :)

The theme itself really doesn't have the ability to do this to your content - haven't had other reports on this either.

Out of curiosity, is the issue fixed if you activate your previous theme again?

We have already deleted the old theme. So, I cannot go back.

I think we have resolved the issue. Looking at the archive.org version of the problem page, I used the browser inspector to change the body font size. Changing from 14 to 16px, made the hard returns show up. I think the old theme was not responsive and the hard breaks were placed at just the right width to hide them on the fixed width page.

So, mystery solved.

Thank you for helping me work through this.

No problem :)

This archived topic is closed to new replies.