changing width on my website (template)

Caporegime
Joined
1 Jun 2006
Posts
34,083
Location
Notts
ive just updated my new theme and wanting to make the width smaller of the forums so not full screen

i tried editing the common.css width value but after a refresh of the style its still same width :confused: any help please :p

http://dgeesiogaming.co.uk/
 
You need to change the width of the #wrap element in your styles.php file. It's currently set to 98%, if you want a fixed size set it to a fixed px value. Something around 960px will work on 95% of monitors.
 
cheers :cool:

#wrap {
min-width: 650px;
margin: 0 auto;
background: #0D0D0D;
border-color: #800000;
border-style: solid;
border-width: 0 1px 1px;
margin: 0 auto 2px;
width: 98%;


so before i was changing just the top value . do i need to adjust min - width and the bottom width percentage one ?
 
Last edited:
cheers :cool:

#wrap {
min-width: 650px;
margin: 0 auto;
background: #0D0D0D;
border-color: #800000;
border-style: solid;
border-width: 0 1px 1px;
margin: 0 auto 2px;
width: 98%;


so before i was changing just the top value . do i need to adjust min - width and the bottom width percentage one ?

No. Keep the 'min-width' as is and only change the 'width'.
 
If you use the above method, keep the width value as a relative %. Having two fixed values for width and min-width is a little pointless :)
 
Back
Top Bottom