Twenty Fourteen
Word wrap text (3 posts)

  1. weaver15340
    Posted 1 year ago #

    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.


  2. esmi
    Forum Moderator
    Posted 1 year ago #

    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:

    .page-content {
    	word-wrap: normal;

    to your child's stylesheet or your CSS plugin.

  3. Bob Varaleau
    Posted 1 year ago #

    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;

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic