[Mediawiki-l] How to change the sidebar width?

Tim Ware tim at hyperarts.com
Wed Oct 25 16:23:59 UTC 2006


On Oct 25, 2006, at 8:10 AM, Sy Ali wrote:

> On 10/24/06, Mark London <mrl at psfc.mit.edu> wrote:
>> How would I change the sidebar width?  (I'm using monobook).
>>
>> Actually, I want to get rid of the whole sidebar, which I figured out
>> how to do, but now I have the empty space where it used to be, and I
>> want to have the content of the page fill up that space.
>
> I'd love to see instructions on how to remove it.  I've seen it done
> here and there, but I never did manage to do it myself.

I believe the #content div is controlled in the skin style sheet, in  
my case:

/skins/monobook/main.css

This style:

#content {
	margin: 3em 0 0 12.2em;
	padding: 0 1em 1.5em 1em;
	background: white;
	color: #8c594a;
	border: 1px solid #8c594a;
	line-height: 1.5em;
	position: relative;
	z-index: 2;
	width:600px;
}

Try changing the left margin, set above at 12.2em to a lesser amount  
of space.

Tim


......................................................... ! ............ 
.................................................
Tim Ware .. HyperArts .. 201 4th Street, Ste 404 .. Oakland CA 94607
        t: (510) 339-6084 .. f: (510) 339-6086 .. e: tim at hyperarts.com
http://www.hyperarts.com
Map




More information about the MediaWiki-l mailing list