Need help? Check out our Support site, then


Twenty twelve theme; how can I prevent it from hyphenating?

  1. I love your twenty twelve theme. It's crisp and wonderful. However, it has a terrible habit of hyphenating words at the end of lines instead of moving them down to the next line. Is there a fix available for this?

    All the best!

    The blog I need help with is martiananthro.wordpress.com.

  2. Are you referring to titles?
    If you are hopefully, this may help you:
    Use the exact code without the spaces.

    The space before the last word of a title is automatically converted into a non-breaking space, to prevent "orphans" (a single word as the last line of a paragraph). This happens no matter what the theme. The only way to override it is paste this right before the last word (minus the spaces):
    & # 8 2 0 1;
    That's the HTML entity for a thin space: it will allow a line break between the last two words.
    http://en.forums.wordpress.com/topic/twenty-thirteen-line-break-in-post-titles?replies=11#post-1244656

  3. joshuamarshack
    Member

    Thanks justpi. The code worked great.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.