Advertise Here

Author Topic: How do you make a fixed width for the homepage?  (Read 2028 times)

0 Members and 1 Guest are viewing this topic.

Offline sinatik45

  • SMF For Free Member
  • *
  • Posts: 43
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
How do you make a fixed width for the homepage?
« on: February 01, 2009, 11:23:13 am »
Forum Url: http://eckclan.smfforfree.com
This is my web incase the above doesn't work: http://eckclan.smfforfree2.com/index.php

If you can see at the homepage, when you stretch your browser window, the text in the center portals move aswel making more words come into that 1 line. I've been told that you can make it a fixed width so nothing moves, a good example is www.thisis50.com - When you stretch the browser window, the portals on right, center and left dont change at all.. only the background will get bigger.

Thanks for any help!

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: How do you make a fixed width for the homepage?
« Reply #1 on: February 01, 2009, 11:32:12 am »
Look for this part of the css:

Code: [Select]
/* The main body of the entire forum. */
body
{
   background-color: #040301;
   margin: 0px;
   padding: 12px 30px 4px 30px;
}

Change it to:

Code: [Select]
/* The main body of the entire forum. */
body
{
   background-color: #040301;
   margin: auto;
   width:  800px;
   padding-top: 12px;
   padding-bottom:  4px;
}


Change "800px" to the width you want your forum set to
If needbe change the pixels for padding top and bottom to suit your forum
« Last Edit: February 01, 2009, 11:36:13 am by simply sibyl »

Offline sinatik45

  • SMF For Free Member
  • *
  • Posts: 43
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: How do you make a fixed width for the homepage?
« Reply #2 on: February 01, 2009, 11:54:59 am »
Thanks thats worked well, less moaners now!
Last thing, may aswell post here instead of a new topic..

Like the website i gave you before www.thisis50.com with their news, it's linked to blogs where people can comment etc.

Can you do that on these forums? besides linking them to the topics, it would be nice to just make the blogs and have them appear on the homepage 

Thanks for any help you can give

Offline sinatik45

  • SMF For Free Member
  • *
  • Posts: 43
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: How do you make a fixed width for the homepage?
« Reply #3 on: February 01, 2009, 03:50:47 pm »
Anyone??

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: How do you make a fixed width for the homepage?
« Reply #4 on: February 01, 2009, 03:53:57 pm »
Only thing you could do would be do a boardnews block.   Its one of the presets in the Portal.   Create a Board for it , tell it in the Portal settings which board to use.     

Offline sinatik45

  • SMF For Free Member
  • *
  • Posts: 43
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: How do you make a fixed width for the homepage?
« Reply #5 on: February 01, 2009, 04:31:23 pm »
Yeah that worked, all now is to get videos working in normal posts..

i.e.

<embed src='http://media.gamespy.com/spy/flashvideo/ev.swf' flashvars='object_ID=748475&downloadURL=http://ps3movies.gamespy.com/ps3/video/article/949/949893/kill2_vid_013009_flvlowwide.flv&allownetworking="all"' type='application/x-shockwave-flash' width='433' height='360' ></embed>

Make that appear in the forum, so it will show on the home too

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: How do you make a fixed width for the homepage?
« Reply #6 on: February 01, 2009, 04:41:20 pm »
Yeah that worked, all now is to get videos working in normal posts..

i.e.

<embed src='http://media.gamespy.com/spy/flashvideo/ev.swf' flashvars='object_ID=748475&downloadURL=http://ps3movies.gamespy.com/ps3/video/article/949/949893/kill2_vid_013009_flvlowwide.flv&allownetworking="all"' type='application/x-shockwave-flash' width='433' height='360' ></embed>

Make that appear in the forum, so it will show on the home too


Post it this way in the post:

Code: [Select]
[html]
<embed src='http://media.gamespy.com/spy/flashvideo/ev.swf' flashvars='object_ID=748475&downloadURL=http://ps3movies.gamespy.com/ps3/video/article/949/949893/kill2_vid_013009_flvlowwide.flv&allownetworking="all"' type='application/x-shockwave-flash' width='433' height='360' ></embed>
[/html]

it will show up in the post and on the board news block

Offline sinatik45

  • SMF For Free Member
  • *
  • Posts: 43
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: How do you make a fixed width for the homepage?
« Reply #7 on: February 01, 2009, 04:56:15 pm »
Thank you! lol so simple.. never thought of that  :-X

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1679 Views
Last post August 09, 2007, 07:31:33 pm
by Knightcastle
3 Replies
2047 Views
Last post November 06, 2007, 05:54:30 pm
by LightningKnight
12 Replies
2121 Views
Last post August 15, 2008, 08:51:10 pm
by tchummer
9 Replies
2934 Views
Last post February 02, 2009, 09:44:53 am
by simply sibyl
16 Replies
4267 Views
Last post March 05, 2009, 09:42:20 pm
by -Sя.Sharp