Prosilver Fixed Width

Mixed forum with code snippets, guides and styles
Forum rules
Everything in this forum is for everybody
But support only for Donators!
Post Reply
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Prosilver Fixed Width

Post by Stoker »

Prosilver Fixed Width
Written by Stoker

This little guide will tell you how to set the prosilver style with a fixed width. Then the style will have a fixed with and centered in the middle of screen.
Its only one single edit in a css file.

Open styles/prosilver/theme/common.css
Find:

Code: Select all

#wrap { 
padding: 0 20px; 
min-width: 650px; 
} 
Replace with:

Code: Select all

#wrap { 
padding: 0 20px; 
min-width: 650px; 
width: 900px; 
margin: 0 auto; 
}
You can change the width to something else if you want.
And you can use max-width instead. It is good for low resolution browsers.

Save file, upload and refresh your theme and browser.
Board rules! No PM support
Post Reply