Correcting word breaks on "Recent Posts" widget

  • Author
    Posts
  • #737955

    gwallis1
    Member

    The words on my right side-bar widget “Recent Posts” are not breaking properly. See: http://speculativenonbuddhism.com/

    How can I correct that?

    Thanks.

    The blog I need help with is speculativenonbuddhism.com.

    #738051

    timethief
    Member

    I have visited your blog but I’m not clear by what you mean. Please expand and provide details so we can sort this out.

    #738055

    gwallis1
    Member

    Yes, in the upper right-hand corner it looks like this:

    Recent posts

    Buddhist Anti-Intellectual
    ism
    Fanged Dialogue
    X-Buddhistic Hallucinatio
    n

    How can I correct the letter breaks?

    #738087

    WordPress puts non-breaking spaces between the last two words in a title to keep from having orphaned single words on a line, but in this case, with the last word being a long one, that causes the problem you are experiencing. Sometimes there is something that can be done to fix this and sometime not. In this case I can’t see any trick to use to fix the issue.

    This is also somewhat dependent on what browser is being used and the settings in individual browsers. On Safari, I don’t see the breaks in the words, but in Firefox I do (both set at normal zoom level, both with the same base font settings in preferences).

    #738119

    You can edit the post title and replace the space between the last two words with the HTML for a breaking space:
    & ensp;
    (without the space after the ambersand)

    #738128

    gwallis1
    Member

    Thanks, panaghiotisadam. I tried that, and the & ensp; ended up showing in the title. Is & ensp; correct, and should it go in the blog title, or did I do something stupid (entirely likely!)?

    When you say “without the space after the ambersand,” do you mean between the first ; and e? And should the code go somewhere other than the title?

    I am new to WordPress, so my apologies for my ignorance.

    #738135

    gwallis1
    Member

    Oh, I just saw the original code. (It looked different as an email message.) I’ll try that.

    #738136

    & e n s p ;
    Without any space between any of the characters.
    And I meant edit the post, put that in the post title box instead of the actual space before the last word, click Update. Please try it in a post and let us know which post it is so we can check the result.
    What browser are you using?

    #738138

    gwallis1
    Member

    Great! It worked. Thanks a million.

    #738142

    You’re welcome!

    #738191

    @panos, thanks for coming to the rescue. Using a breaking space (again) completely slipped my mind.

    #738202

    timethief
    Member

    Bookmarking!

The topic ‘Correcting word breaks on "Recent Posts" widget’ is closed to new replies.