How to stop hyphen in text on WordPress

Copy and paste the following code into your CSS stylesheet:

/* Remove automatic hyphenation */
.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; }

remove hypen wordpress

 

WOLF ZVI

Web Designer / Graphic Designer based in London.
This site is my own personal reference to all things Wordpress and web design, which I hope will also help others.
Let me know if you have any questions!

 

Leave a Reply

Your email address will not be published. Required fields are marked *