WordPress.org

Forums

Stargazer
Stop auto-hyphen of text in Stargazer (4 posts)

  1. jrey49
    Member
    Posted 11 months ago #

    I am having great difficulty with the text layout. Although posting looks normal, when you visit the site, words are cut and hyphens connecting words leading to the next sentence.
    I cannot find a solution.

  2. zentrepreneurtv
    Member
    Posted 10 months ago #

    same question, thanks

  3. Kim Parsell
    WP Mom
    Posted 10 months ago #

    That's done using CSS. In the stylesheet (around line 1220), find the following code and comment it out:

    word-wrap:   break-word;
    	word-break:  normal;
    
    	-webkit-hyphens: auto;
    	   -moz-hyphens: auto;
    	    -ms-hyphens: auto;
    	       hyphens: auto;
  4. Andrew
    Nuh uh moderator
    Posted 10 months ago #

    If you're not using a Child Theme, and if the theme doesn't have a designated section of the dashboard for CSS modifications then install this Custom CSS Manager plugin http://wordpress.org/plugins/custom-css-manager-plugin

    Then use its "CSS Code" section of the dashboard to hold your CSS modifications:

    Alternatively use your Child Theme style.css file to hold your CSS modifications:

    .main {
    	word-wrap: normal;
    	-webkit-hyphens: none;
    	   -moz-hyphens: none;
    	    -ms-hyphens: none;
    	       hyphens: none;
    }

Reply

You must log in to post.

About this Theme

About this Topic