• How do I stop Twenty Fourteen from automatically hyphenating words that are too long to fit on a line of text? I simply want the word to wrap to the next line if it doesn’t fit on the previous line.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do not edit the Twenty Fourteen theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes. Or install a custom CSS plugin. Then try adding:

    .entry-content,
    .entry-summary,
    .page-content {
    	word-wrap: normal;
    }

    to your child’s stylesheet or your CSS plugin.

    I couldn’t get this to work for me. I did clear my cache but still not working.

    A search for a code yielded this. It seems to work fine.

    p {
    	-moz-hyphens: none;
    	-ms-hyphens: none;
    	-webkit-hyphens: none;
    	hyphens: none;
    	word-wrap: normal;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Word wrap text’ is closed to new replies.