Last week I published a new post and suddenly I noticed that instead of starting a new line with the new word, it was divided in two by WordPress (syllabication). I did not like it, so I wondered how I could add a typical word wrap, removing the hyphenation from WordPress. Here comes the solution!
If you have the same problem that I fought with you simply need to add the following code to your style.css file in WordPress:
.site-content article {
word-wrap: break-word;
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
}
I do recommend that you create a WordPress child theme so that the code will not disappear whenever you update your WordPress theme. Hope the little piece of code will do the job for you as well!
No responses yet