Author Topic: Scrol the entire page not the post only  (Read 1876 times)

Offline ekfaysal

  • Jr. Member
  • **
  • Posts: 374
Scrol the entire page not the post only
« on: May 05, 2008, 10:33:41 AM »
im using smf 2 beta 3.
i hav asked this question before but not answered yet so i thought i should ask it again.maybe i couldnot clear my point that time..

so my forum usually contain large wallpapers from photobucket or imageshack.
When i post wallpapers bigger then post box, , it addz a scrol to post page btu i know this is default feature of smf.
but i want the entire page to scrol...

like invation boards or vbulletin boards does..
If anybody understand what i want please clear my answer

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,405
  • Gender: Male
    • Kindred-999 on GitHub
Re: Scrol the entire page not the post only
« Reply #1 on: May 05, 2008, 10:38:52 AM »
you will have to modify your theme files. (display.template.php and style.css)

The way SMF build sthe display page, each post is in its own container, with overflow controlled.  So, you'll have to check with container is being used and then alter the tag in style.css to handle the extra large junk the way you want.

(personally, I despise forum pages that resize my display based on what is posted...   I have my forums set to a specific size and look. If some random person can post a 20,000 pixel wide image and break the layout of the forum, because it tries to auto expand to handle the image.... that is BAD, in my book.)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,930
  • 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
Re: Scrol the entire page not the post only
« Reply #2 on: May 05, 2008, 10:39:46 AM »
You mean you would rather have to whole post stretched, like phpbb does?

EDIT: Kindred was faster, and had better advice as well. :D
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