Advertisement:

Author Topic: How to reduce free space?  (Read 1300 times)

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,269
  • Gender: Female
Re: How to reduce free space?
« Reply #20 on: January 19, 2018, 09:25:34 AM »
Look for .poster in your css file and add:

Code: [Select]
max-height: 200px; /* or whichever other size */
overflow: auto;

But, besides looking ugly, I'm sure no one will ever bother to see what is beyond the scroll again. I'd keep it in the signature area or the profile (if the mod has that option) and be done with it, that's a much better place for that :P

Offline bharat

  • Full Member
  • ***
  • Posts: 417
Re: How to reduce free space?
« Reply #21 on: January 19, 2018, 09:31:03 AM »
I had to change some code in the templates to be able to shift it to the signature area, it looks much better indeed. If I try to change settings you meantioned now which changes it will add to the site?

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,269
  • Gender: Female
Re: How to reduce free space?
« Reply #22 on: January 19, 2018, 09:47:41 AM »
The changes above will simply add a scrollbar in the profile area. Anything that gets bigger than the specified size won't be displayed unless the user scrolls.

Offline bharat

  • Full Member
  • ***
  • Posts: 417
Re: How to reduce free space?
« Reply #23 on: January 19, 2018, 10:14:11 AM »
I see, will check it out anyway. Thanks a lot for your suggestions. :)

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,541
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: How to reduce free space?
« Reply #24 on: January 25, 2018, 06:14:00 AM »
How could I do that? Maybe I can try and see if it looks better or not. Anyway I am looking for the best option so that it is comfortable for the forum members.
This would somewhat depend on your theme. I see guests can't access your topics, so it's hard to give very exact directions.
I do however think you could use CSS to limit the height and set the overflow property to scroll.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas