Support » Theme: Enough » Word wrapping problems on page and posts

  • Resolved calin_rett

    (@calin_rett)


    Hi,
    I uploaded and installed Enough theme and I have some strange word wrapping breaks at the end of lines.
    You can see an example here
    http://www.yogasizen.ro/Despre/
    Tryied to add post and I have the same problem. I changed the theme to default, Twenty Twelve and there the difference is that the words have the sign – for break, but in both themes the alignement is justify and I cnnot change it, like the style chosen in editor page/post has no effect on the real site page.
    I have to mention that I’m new to HTML and CSS.
    All help is welcomed!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    some strange word wrapping breaks at the end of lines.

    caused by this style in /css/box-modules.css

    .entry-content,.entry-title{
    	/*margin:10px 14px 10px 24px;*/
    	max-width:100%;
    	word-break:break-all;
    	word-wrap:break-word;
    }

    overwrite this in style.css, with:

    .entry-content,.entry-title{
    	word-break:normal;
    	word-wrap:normal;
    }

    http://www.w3schools.com/cssref/css3_pr_word-wrap.asp
    http://www.w3schools.com/cssref/css3_pr_word-break.asp

    in Twenty Twelve is that in style.css:

    .site-content article {
    	border-bottom: 4px double #ededed;
    	margin-bottom: 72px;
    	margin-bottom: 5.142857143rem;
    	padding-bottom: 24px;
    	padding-bottom: 1.714285714rem;
    	word-wrap: break-word;
    	-webkit-hyphens: auto;
    	-moz-hyphens: auto;
    	hyphens: auto;
    }

    once you remove/overwrite these styles, the ‘justify’ should also stop.

    Hi,

    Thank you very much alchymyth, that solved my problem. Hope that now will be ok.
    Had to install an editor plugin for wordpress, in the theme’s editor I wasn’t able to see the problem you mentioned.
    Once again, thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Word wrapping problems on page and posts’ is closed to new replies.