inherit
23098
0
Sept 8, 2024 12:39:09 GMT -8
✶April✶
♪ Never let your fear decide your fate.
1,109
April 2004
babygurl83
|
Post by ✶April✶ on Feb 17, 2013 10:15:56 GMT -8
So, I'm having a slight issue with my shoutbox on my forum. When someone's post runs along 2 lines instead of just one, it's not justifying the text, so what happens is that the word ends up being broken apart, without a hyphen and it just doesn't look right, plus can be a little confusing at first glance. Here's the link to my forum to see what I'm talking about: crackyournuts.proboards.comI was wondering if there's a simple way to just add in a code to justify the text from the Shoutbox's layout template in the admin panel? Or at least something to stop it from breaking apart the words at the end? Thank you in advance to anyone who can help!
|
|
inherit
23098
0
Sept 8, 2024 12:39:09 GMT -8
✶April✶
♪ Never let your fear decide your fate.
1,109
April 2004
babygurl83
|
Post by ✶April✶ on Feb 17, 2013 14:04:37 GMT -8
Sorry to double post, but I ended up finding the solution myself by looking up the word-break property of CSS. If anyone else is having this problem and can't figure it out, here's what I did: In the admin panel, go to Themes > Colors & Styles > Style Sheet (CSS)
Find line #1318, which should look like this:
.shoutbox_messages .message { padding-right: 10px; word-break: break-all; }
Change it to the following:
.shoutbox_messages .message { padding-right: 10px; word-break: hyphenate; }
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Feb 20, 2013 8:02:12 GMT -8
Thanks ✶April✶ it helped me! It had been bugging me this so thank you for posting the solution
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Feb 20, 2013 8:49:32 GMT -8
Just be aware that this solution will not always work consistently. I've done a fair amount of reading into similar properties, so let me provide you with some more resources: The specAn in-depth analysisA good summary
|
|
inherit
23098
0
Sept 8, 2024 12:39:09 GMT -8
✶April✶
♪ Never let your fear decide your fate.
1,109
April 2004
babygurl83
|
Post by ✶April✶ on Feb 20, 2013 9:32:30 GMT -8
|
|