GearHack

: : :

Add Comment | Related Links | TrackBack
Related Content

Moving the MediaWiki SideBar from the left to the right side

I have recently installed MediaWiki 1.7.1. It uses a MonoBook skin that puts the navigation sidebar on the left. But I like sidebars on the right on my web sites. So I looked into moving the sidebar onto the right. No web site currently shows how to do that.

Therefore, I made a copy of the MonoBook skin to customize. And I found moving the navigational sidebar to the right is easy. All you have to do is change a single line in main.css. Change "float: right;" under "#column-content" to "float: left".

The hard part is that the logo doesn't move along with it. It looks like the logo is fixed in the absolute position. Also, there is no padding between the content and the navigational sidebar. It looks like more CSS work is necessary to move everything to the right side.

I don't know enough CSS to make it work right now. But if you get a chance to experiment with it, add your notes to this thread.

Chieh Cheng
Thu, 17 Aug 2006 14:25:58 -0700

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 5 + 1?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.


Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

452 Users Online



Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2024. All Rights Reserved.