PhpBB3 Styling Tutorial:ProSilver/Subsilver2 Fixed Width

Damien

Seasoned Veteran
Joined
Apr 29, 2007
Messages
3,232
Reaction score
0
FP$
6
Hello, Ever wanted to make your own phpbb3 styles, well I'm going to help you with that by making loads of tutorials on how to do this.

In this tutorial i will be teaching you how to make both Prosilver and Subsilver 2 a fixed width.

For prosilver open common.css and find:
Code:
#wrap {
   padding: 0 20px;
   min-width: 650px;
}

Replace that with the following...
Code:
#wrap {
width: 835px;
margin-left:auto;
margin-right:auto;}

For Subsilver2 you must open stylesheet.css and find:
Code:
#wrapcentre {
	margin: 15px 25px 0 25px;
}

And replace with...
Code:
#wrapcentre {
width: 835px;
margin-left:auto;
margin-right:auto;}




Now the width is the bit you want to edit depending on how wide you want your forum, the margin-left and margin-right are just basically to keep it centered.

Thanks for reading my first tutorial.

Merry Christmas all

Thanks!
 
Back
Top Bottom