September 5, 201411 yr Hi there, I am trying to get my blog posts to text-align: justify; and I have added this to the css which I believe is .post_content for blog posts but I still cant get text to justify and it looks a bit messy on the right side of blog posts with words having hyphens at the end. I am on wordpress version 3.6 due to a template being used which uses the cherry plugin. If anyone has experienced this issue or know what I am doing wrong to justify the text it would be much appreciated. Thanks in advance
September 5, 201411 yr Author ok I will add that.... I have got that on my style.less.css Can you also add justify to that css? Thank you
September 5, 201411 yr i can see u added this in your main-style.css .post_content p { padding-bottom:20px; text-align:left; } i just checked in my browser the text align looks fine to me
September 5, 201411 yr Author It is not fully responsive however, on an iPad, iPhone it makes no difference and even in normal browser it did not change anything, words to the right are cut off by an hyphen
September 5, 201411 yr Author This is on my ipad, image attached. You can see where some of the words get cut off on the right with the - hyphens
September 5, 201411 yr Isn't that normal for justified text? I never use justification because it can present reading issues for some folks.
September 5, 201411 yr find the 'hyphens' part, set it to 'none' e.g.p {hyphens: none | manual | auto} and usetext-align: justify; if you must but it's quite nasty on the net (especially without hyphenation). it's allegedly harder to read for people with reading difficulties such as dyslexia, and it can have rivers of white running through the text (formed from the large spaces between words)
September 6, 201411 yr Author Blue dreamer and dave thanks for the replies. So do most people not use the text justify feature then? I find having words cut off towards the right it looks messy, if a word can't fit then would be better starting on a new line as a complete word. Edited September 6, 201411 yr by jay76
September 7, 201411 yr yep just left-aligned in most if not all cases.In print, layout programmes such as Adobe indesign have sophisticated hyphenation engines to subtly adjust text (horizontal tracking, kerning etc.) to make full justified text work - and even then it may need manual intervention. due to the nature of the net and varying widths of containers and text sizes it makes it an uphill struggle to hypenate well without leaving a mess hence why most people don't fully justifiy text.
Create an account or sign in to comment