• Resolved natroneous

    (@natroneous)


    I am trying to figure out how to “turn off” hyphenation in my body <p> copy. It’s doing it too often and just looks bad. Is there a place to adjust this or just stop hyphenation completely? Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Indeed, makes it unsightly, I’d like to know too ??

    Use this in Custom CSS plugin, or child theme stylesheet in case of child theme.

    .entry-content, .widget {
    	-webkit-hyphens: none;
    	-moz-hyphens: none;
    	-ms-hyphens: none;
    	hyphens: none;
    	word-wrap: normal;
    }

    Adjust the selector to limit it to certain area like this .entry-content p for <p> in content.

    YAY !!! – Nice one, cheers very much.

    First I did not think it worked, then thought, no, REFRESH you numpty; then hey presto

    Cheers

    Dave

    Thread Starter natroneous

    (@natroneous)

    Awesome! Thank you Paul.

    abigrant

    (@abigrant)

    Helped me too – thank you so much!

    fightingthefatman

    (@fightingthefatman)

    This was also very helpful to for me too but with my lack of knowledge pertaining too child themes as discussed here and https://www.ads-software.com/support/topic/twenty-twelve-hyphenation?replies=17 <—here.

    I have created a theme directory labeled twentythirteen-child but and have a notepad document started labeled style.css but I am a little confused on the syntax to put in this file. I know being a child theme i should need to copy and paste the entire style.css parent file but simply only the code i want to change so if you anyone could point me in the right direction i would be very appreciative.

    should it look like this
    From parent style.css

    /*
    Theme Name: Twenty Thirteen
    Theme URI: https://www.ads-software.com/themes/twentythirteen
    Author: the WordPress team
    Author URI: https://www.ads-software.com/
    Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
    Version: 1.1
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
    Text Domain: twentythirteen
    
    This theme, like WordPress, is licensed under the GPL.
    Use it to make something cool, have fun, and share what you've learned with others.
    */
    
    .entry-content, .widget {
    	-webkit-hyphens: none;
    	-moz-hyphens: none;
    	-ms-hyphens: none;
    	hyphens: none;
    	word-wrap: normal;
    }

    my site is fightingthefatman.net

    esmi

    (@esmi)

    No. Try:

    /*
    Theme Name: Twenty Thirteen Child
    Template: twentythirteen
    */
    
    @import url(../twentythirteen/style.css);
    
    .entry-content, .widget {
    	-webkit-hyphens: none;
    	-moz-hyphens: none;
    	-ms-hyphens: none;
    	hyphens: none;
    	word-wrap: normal;
    }
    esmi

    (@esmi)

    I am now closing this 6 month old topic.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Hyphenation issues’ is closed to new replies.