Information Systems



Break word and hyphening in Wordpress

Some of the newer themes in Wordpress have automatic word breaks for styles. If you don't like hyphenated word breaks. Comment out the following in style.css. You can make a child theme if you don't want to mess with the original theme.

.widget-area .widget {
/* -webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto; */
margin-bottom: 48px;
margin-bottom: 3.428571429rem;
/* word-wrap: break-word; */
}

.site-content article {
border-bottom: 4px double #ededed;
margin-bottom: 72px;
margin-bottom: 5.142857143rem;
padding-bottom: 24px;
padding-bottom: 1.714285714rem;
/* word-wrap: break-word; */
/* -webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto; */
}