- This topic has 7 replies, 2 voices, and was last updated 10 years, 1 month ago by
Tom.
-
AuthorPosts
-
June 18, 2016 at 6:29 pm #203039
Anton
On mobile (or when narrowing the browser window to the same width as a mobile screen) some of the lines of text are wrapping too soon, apparently at random:
https://www.melbournechildpsychology.com.au/
Is there a fix for this?
Thanks!
-
This topic was modified 10 years, 1 month ago by
Anton.
June 18, 2016 at 11:52 pm #203057Tom
Lead DeveloperLead DeveloperI’m not too sure what you mean – it all looks normal to me?
Is there a specific line wrapping too early?
June 19, 2016 at 4:10 am #203083Anton
Hi Tom,
If you look on an iPhone width screen (or use Chrome and inspect with the device set to iPhone 6) there are several lines of text that appear to be wrapping too early. It starts in the heading with “teenagers” and then in the first sentence of the first body text paragraph the same thing with “psychology”, then again with “overcome” and there are several other examples throughout other paragraphs. The most obvious example is the word “of” in the first paragraph after the first set of bullets.
Anton
June 19, 2016 at 10:29 am #203127Tom
Lead DeveloperLead DeveloperAh, your spaces have the tag in there, which stands for a non-breaking space: http://screencast.com/t/euWJnLHI3r
You’ll want to replace those with a regular space (just use the space bar) and it should all work 🙂
June 24, 2016 at 7:09 am #204288Anton
Thanks Tom. I’m familiar with non-breaking spaces ( ) and that’s what I first looked for but I didn’t see any when I viewed the HTML source and they don’t show in the WP editor.
I now realise they can only be seen using the “inspect” option in Chrome.
I’ve fixed them but it was quite a tedious process. Any idea what might cause this?
June 24, 2016 at 10:44 am #204328Tom
Lead DeveloperLead DeveloperOne way this can happen is if you copied from another source (web page, word document etc..) that had the nbsps. When pasting, I typically like to paste into the “Text” tab which strips all HTML, then you can re-format using the WordPress controls.
June 25, 2016 at 4:10 am #204451Anton
Yes I’m aware of that and I always paste as plain text for that reason. It’s a bit of a mystery…
June 25, 2016 at 9:49 am #204504Tom
Lead DeveloperLead DeveloperDefinitely strange – if it keeps happening it may be worth opening a topic over on the WordPress.org forums as it might be an issue with your TinyMCE editor.
-
This topic was modified 10 years, 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.