How can I control line breaks to stop text from being hyphenated?

  • Unknown's avatar

    When I view my blog in Firefox lines of left-justified text often end with a hyphenated line break. This does not happen when viewed in Chrome.
    I would like to eliminate the automatic hyphening. Is there a way to adjust this in the WordPress settings?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there!

    To remove these hyphens, you’ll need the Custom Design upgrade. With this upgrade, paste the following code into your CSS editor:

    /* Remove automatic hyphens */
    p, ul, ol, dl, blockquote, .post-statement, .statement {
        -webkit-hyphens: none;
        -moz-hyphens: none;
        hyphens: none;
    }

    I hope this helps :)

  • Unknown's avatar

    Great! Thank you!

  • The topic ‘How can I control line breaks to stop text from being hyphenated?’ is closed to new replies.