Text wrap glitch on featured slider for a single post title
-
Text wrap glitch on featured slider for post titled ‘Neurotoxins with your strawberries, Ma’am?'”
Months ago this was a problem for most of the titles, but one of your happiness engineers fixed it with some CSS. This is the first time since then that the problem has reoccurred, and it’s only with this title. All others work fine.
-
There is typically a non-breaking space put between the last two words of title and paragraphs to prevent orphaned words (one word on a line at the end of a paragraph). Most of the time this results in better readability, but every once in a while things go awry.
Open that post in your post editor, and in the title, replace the space between the comma and Ma’am with the following code (without the space I have between the & and the n).
& ensp;
That is the HTML entity code for a “en” space. -
It worked! Thank you so much. But how in the world did I manage to add a non-breaking space between the comma and the M? Or does it just happen sometimes?
-
Oh wait. I see that you’re saying non-breaking spaces are inserted automatically to prevent orphans. Keen, if it occurs in the copy. Not so keen in titles. Thanks again. I appreciate your help with this–tremendously.
-
- The topic ‘Text wrap glitch on featured slider for a single post title’ is closed to new replies.