Customizing SMF > Graphics and Templates

How to change to % width in ADK Cool Black 2.0?

(1/3) > >>

4Birdman:
Right now it is default to be 960px or something like that. I really prefer to have it set as a %width. Any easy way to do this? I screwed around with it a little and only managed to fubar it.  :o I went back to the way it was for now. I really hate it being so narrow on my 24" monitor, and I know it would get annoying for the people who have smaller monitors if I make it fixed width to fit my monitor.

Can anyone help me?

Doctor Deejay:
Hi, welcome to SMF! :) Please attach index.template.php and index.css and I'll show you how to do it. :)

4Birdman:
Thanks!

Doctor Deejay:
Ok, I'm not sure what it looks like but this should do the trick. :)
Open index.css and find:

--- Code: ---#page {
width: 960px;
margin: 0 auto;
padding: 20px 5px;
background: #FFFFFF;
}

/* Content */

#content {
width: 960px;
float: left;
}
--- End code ---
And replace with:

--- Code: ---#page {
width: 70%;
margin: 0 auto;
padding: 20px 5px;
background: #FFFFFF;
}

/* Content */

#content {
width: 70%;
float: left;
}
--- End code ---

Don't forget to backup, though :P

4Birdman:
Didn't work.  :(

The forum is hxxp:www.capitalfbody.com/forums [nonactive]

Navigation

[0] Message Index

[#] Next page

Go to full version