Disable CSS hyphenation?
-
CSS hyphens looks horrible on web browsers. Is there a chance this theme can make using hyphens an option in the admin controls?
Right now, articles look ugly with a large number of words hyphenated. There are many other support forums with same problem – since WordPress 2012 theme also turns on hyphens. For example this message also mentions a Catch Theme!
twenty-twelve-hyphenationIn any case, if this can’t be easily configured in the admin, here’s the CSS code for anyone using Custom CSS or a child theme:
/* CSS hyphennation makes pages hard to read (even with correct lang * attribute en-US), the display gets filled with too many hyphens. * Turn off hyphenation - only allow line breaks within words if a manual * dash is present in text. */ .site-content article { -webkit-hyphens: manual; -moz-hyphens: manual; hyphens: manual; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Disable CSS hyphenation?’ is closed to new replies.