WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
[resolved] How does one stop auto text hyphenation completely (8 posts)

  1. cadfile
    Member
    Posted 1 year ago #

    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

  2. cadfile
    Member
    Posted 1 year ago #

    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

  3. galaxyk
    Member
    Posted 1 year ago #

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

  4. asyouwishaustin
    Member
    Posted 1 year ago #

    what galaxyk said. Thanks!

  5. Cianna
    Member
    Posted 1 year ago #

    Thank you, cadfile! Worked like a charm!

  6. 5high
    Member
    Posted 1 year ago #

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

  7. David Borrink
    Member
    Posted 1 year ago #

    Yes, what galaxyk said. :-) Thanks!

  8. olson627
    Member
    Posted 7 months ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic