News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

How to Widen the User Info Display Area on SMF 2.1x Post Viewing Screen

Started by Michael Vail, December 04, 2022, 03:27:34 PM

Previous topic - Next topic

Michael Vail

Greetings all. I hope this finds you well and warm during this winter season.

I was hoping someone could tell me how I can widen the User Info display area of the post display screen on my SMF 2.1.3 site. I have setup several large custom profile fields that display with other user info on hte left side of the postin screen and I would like to minimze the amount of wrapping the text is doing by widening the display area. Ideally, I'd like to double this columns display area size.

Any help would be greatly appreciated.

Happy Holidays!

Sir Osis of Liver

index.css you can increase .poster width, but it'll make post area too small if you overdo it.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Michael Vail

Thank you very much my friend. Take care of that liver!

Happy Holidays to you,
Mike

Michael Vail

For those who come across this, I found this section in the index.css file and widened the width shown in red slightly to fit my content without it wrapping. It worked great!

Quote/* poster details and list of items */
.poster {
  float: left;
  /* Don't set this in em.It will eat too much space if people need to set large text sizes. */
  width: 160px;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  word-wrap: break-word; /* IE fallback */
  overflow-wrap: break-word;

Thanks a ton to Sir Osis of Liver for the assist.
Mike

Advertisement: