• Resolved cadfile

    (@cadfile)


    I have a child theme of Twenty Twelve and I want to turn off auto text hyphenation completely. I don’t like it and unless I can selectively turn it off I would rather turn off for my whole theme

    Here is an image showing an example of what I don’t want:

    Example image

    I have used wp-Typography on other installs but it hasn’t been updated in 2 years and looks like there are some issues with it and 3.5.1

    Any help would be appreciated

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter cadfile

    (@cadfile)

    Never mind a previous article gave me the answer. Not sure why it didn’t come up in my search before I posted the question… grrrrr

    Here is the solution (put this in the style.css of your child theme):

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

    Answered with info from this previous post

    galaxyk

    (@galaxyk)

    Thank you for taking the time to come back and post the answer you found, saved me some time searching.

    what galaxyk said. Thanks!

    Thank you, cadfile! Worked like a charm!

    Thanks for sharing – really useful, as the manic use of hyphens everywhere was just starting to really get to me!

    Yes, what galaxyk said. ?? Thanks!

    The hyphens were out of control! Thank you for the quick fix.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How does one stop auto text hyphenation completely’ is closed to new replies.