inherit
186770
0
Jan 19, 2013 3:22:38 GMT -8
user07
193
December 2012
user07
|
Post by user07 on Feb 16, 2013 3:50:19 GMT -8
Is there a way to 'cut' last post's title, in the main page so that they, even if they're too long, stay in just 1 line ? Hope what I wrote is understandable! Thanks for help!
|
|
inherit
126477
0
Apr 21, 2023 15:18:52 GMT -8
Shrike
Re-appeared briefly after 6 years only to no doubt disappear again.
1,569
June 2008
shrike
|
Post by Shrike on Feb 16, 2013 4:18:00 GMT -8
If you simply want them to stay on one line simply add this to the bottom of your stylesheet (Themes > Colors and styles > Stylesheet tab), although bear in mind that the last post column may be made wider to accommodate it:
.item .latest a {white-space: no-wrap;}
Further to this, if you literally wanted to cut the rest of the words off (not really recommended), you could add this instead, changing the width as appropriate:
.item .latest a {display: inline-block; overflow-x: hidden; white-space: nowrap; width: 200px;}
|
|
inherit
186770
0
Jan 19, 2013 3:22:38 GMT -8
user07
193
December 2012
user07
|
Post by user07 on Feb 16, 2013 5:42:28 GMT -8
Thank you very much, Shrike !!! I had to add this to make it work: .boards .latest { white-space: nowrap; } .threads .latest { white-space: nowrap; } .conversations .latest { white-space: nowrap; }
but that was what I was looking for! Thanks!
|
|
inherit
8275
0
Apr 8, 2024 11:05:50 GMT -8
M³
SF 49ers
2,120
March 2003
madmastermind
|
Post by M³ on Mar 6, 2013 14:09:07 GMT -8
Upon using this, it makes the (threads and last post) columns uneven down the homepage. Is there anyway to adjust those so that they are even down the page .. similar to how it is without this code installed?
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 6, 2013 14:28:03 GMT -8
Upon using this, it makes the (threads and last post) columns uneven down the homepage. Is there anyway to adjust those so that they are even down the page .. similar to how it is without this code installed? Since your forum is at a percentage width, results may vary between users. I personally don't see the uneven columns unless I resize the window. The board list also uses percentage widths, so if it needs to expand to accommodate something, the widths will move around.
|
|