How to disable hyphenation

Avatar
  • Answered
I am using the Twenty Fifteen theme and would like to disable hyphenation. That is, I just want complete words to automatically wrap. I have read posts on this topic and edited my child them with the following code:

.site-content article {
word-wrap: normal;
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
}

.widget-area .widget
{
word-wrap: normal;
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
}

However, there is no effect. Please advise. Thank you.
Avatar
Scott
Hello jgscott3,

Thank you for your hyphenation question. That code should work for you. Have you tried clearing the cache on the browser or with a different device/browser?

Kindest Regards,
Scott M