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.
Thanks. - Mark
Mark London a écrit :
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.
change the margin and/or padding value of the #content in skins/monobook/main.css file
On 10/24/06, Mark London mrl@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.
On Oct 25, 2006, at 8:10 AM, Sy Ali wrote:
On 10/24/06, Mark London mrl@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@hyperarts.com http://www.hyperarts.com Map
Mediawiki-l responders wrote:
Mark London 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.
change the margin and/or padding value of the #content in skins/monobook/main.css file
I had done that, but it wasn't working. They I realized that I also have to change all the browser specific css files also, like IE60Fixes.css!
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 basically edited Monobook.php and removed the code that was responsible for outputting everything on the left side (and the footer also). Perhaps editing the CSS files, and changing the appropriate widths to 0, would also work?
Btw, having just started working on wikis for the first time this past week, it appears that one has to learn php & html if one wants to do any significant customization to the skins. This is esspecially true, because the comments in some of the skin files are very sparse.
- Mark
There aren't any cookbooks available on how to modify the appearance? Maybe you can flick through the various alternative skins people made, lots of them have a custom sidebar.
Regards,
Arjen
2006/10/25, Mark London mrl@psfc.mit.edu:
Mediawiki-l responders wrote:
Mark London 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.
change the margin and/or padding value of the #content in skins/monobook/main.css file
I had done that, but it wasn't working. They I realized that I also have to change all the browser specific css files also, like IE60Fixes.css !
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 basically edited Monobook.php and removed the code that was responsible for outputting everything on the left side (and the footer also). Perhaps editing the CSS files, and changing the appropriate widths to 0, would also work?
Btw, having just started working on wikis for the first time this past week, it appears that one has to learn php & html if one wants to do any significant customization to the skins. This is esspecially true, because the comments in some of the skin files are very sparse.
- Mark
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
You also have to remember that if your changes aren't showing, the page might be loading from the client-side cache instead of grabbing the new files. In IE you can reload the page with CTRL-F5 to force refresh.
Mediawiki-l responders wrote:
Mark London 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.
change the margin and/or padding value of the #content in skins/monobook/main.css file
I had done that, but it wasn't working. They I realized that I also have to change all the browser specific css files also, like IE60Fixes.css!
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 basically edited Monobook.php and removed the code that was responsible for outputting everything on the left side (and the footer also). Perhaps editing the CSS files, and changing the appropriate widths to 0, would also work?
Btw, having just started working on wikis for the first time this past week, it appears that one has to learn php & html if one wants to do any significant customization to the skins. This is esspecially true, because the comments in some of the skin files are very sparse.
- Mark
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Yes, thanks for the info! The cache problem is something I discovered pretty quickly! :) It's a good things to warn people about.
I actually modified the mediawiki file that controls the cache headers, and turned off all caching.
headley@lonestranger.net wrote:
You also have to remember that if your changes aren't showing, the page might be loading from the client-side cache instead of grabbing the new files. In IE you can reload the page with CTRL-F5 to force refresh.
Mediawiki-l responders wrote:
Mark London 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.
change the margin and/or padding value of the #content in skins/monobook/main.css file
I had done that, but it wasn't working. They I realized that I also have to change all the browser specific css files also, like IE60Fixes.css!
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 basically edited Monobook.php and removed the code that was responsible for outputting everything on the left side (and the footer also). Perhaps editing the CSS files, and changing the appropriate widths to 0, would also work?
Btw, having just started working on wikis for the first time this past week, it appears that one has to learn php & html if one wants to do any significant customization to the skins. This is esspecially true, because the comments in some of the skin files are very sparse.
- Mark
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 10/25/06, Mark London mrl@psfc.mit.edu wrote:
I actually modified the mediawiki file that controls the cache headers, and turned off all caching.
Probably better to set "$wgCachePages = false;" in LocalSettings.php than to change MediaWiki source.
Dan
mediawiki-l@lists.wikimedia.org