Community Central
Register
Community Central
Forums: Index Community Central Forum Layout changed
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 4794 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


I've been away from my wiki for a couple of months (life happens).. now I am back, and the wiki navigation sidebar used to be small and on the left.. now it is gigantic and on the right. all my pages and layout are now pushed to the left and my wiki looks like crap. Is their a way to move all this new stuff that is on the right, back to the left.. return it to looking like it did a couple of months ago? —This unsigned comment is by Screamingbluemessiah (wallcontribs). Please sign your comments by adding "~~~~" in the source editor.

You wish. Unfortunatly, Wikia, some time ago, forced a new skin on all small and normal sized wikis (they gave special treatment to bigger wikis like WoWpedia, which still moved away). Even though an extremely large portion of the community protestested and asked for it to be an option to be used only be wikis that benefited from it, they went ahead and made it mandatory. Fortuantly, registered users can view the Wikia world in Monobook, BUT, it will still look like crap to the readers, who are now assualted with extra adds, compressed pages, and less navigation options. {{SUBST:User:The Inexistent/Sig}} 23:41, February 7, 2011 (UTC)

You can increase your content space. Add this to your global.js page

/* add a button that increases the content size and hides the rail */
function CreateContentResizeButton() {
	if(wgTitle != wgMainPageTitle) {
		$('ul.wikia-menu-button').after('<ul class="wikia-menu-button" id="resizeButton" style="margin-left:10px"><a onclick="ExpandContent();" data-id="resizeButton" style="color:#fff;" title="Expands the content area. Note that this will hide the side rail."> Expand <--> </a></ul>');
	}
}
 
addOnloadHook(CreateContentResizeButton);
 
function ExpandContent() {
	$('header#WikiaPageHeader.WikiaPageHeader details').css({"width": '980px'});
	$('article#WikiaMainContent.WikiaMainContent').css({"width": '1000px'});
	$('div#catlinks.catlinks').css({"width": '1000px'});
	$('div#WikiaRail.WikiaRail').css({"display": 'none'});
	$('ul#resizeButton').replaceWith('<ul class="wikia-menu-button" id="resizeButton" style="margin-left:10px"><a onclick="CompressContent();" data-id="resizeButton" style="color:#fff;" title="Compress the content area back to its original width, and restore the side rail."> Compress >--< </a></ul>');
}
 
function CompressContent() {
	$('header#WikiaPageHeader.WikiaPageHeader details').css({"width": '670px'});
	$('article#WikiaMainContent.WikiaMainContent').css({"width": '680px'});
	$('div#catlinks.catlinks').css({"width": '638px'});
	$('div#WikiaRail.WikiaRail').css({"display": 'block'});
	$('ul#resizeButton').replaceWith('<ul class="wikia-menu-button" id="resizeButton" style="margin-left:10px"><a onclick="ExpandContent();" data-id="resizeButton" style="color:#fff;" title="Expands the content area. Note that this will hide the side rail."> Expand <--> </a></ul>');
}

Thanks to Mochoman for that. Messing with the sidebar and moving it to the left is against TOU and I have not seen anyone come up with js or css to do so.--God (Pray) 23:57, February 7, 2011 (UTC)

Godisme - you're allowed to do whatever you want in your own personal JS/CSS. It's only global changes that the TOU has any effect on RandomTime 23:59, February 7, 2011 (UTC)
Woops, looks like I wasn't clear enough. That is what I meant.--God (Pray) 00:01, February 8, 2011 (UTC)

I think I will just go find a new host. Anyone know of one that has all the features of Wikia? —This unsigned comment is by Screamingbluemessiah (wallcontribs). Please sign your comments by adding "~~~~" in the source editor.

Not specifically - Shoutwiki has the old Monaco, but you'll have to pay for it soon. I can't think of any others off the top of my head. Honestly, you're probably best off just getting used to Oasis. In the matter of sidebar width, I have CSS and JS solution for that, but I don't have a confirmation from staff if it would be a ToU violation to use it wiki-wide. Godisme has also tasked me with moving the sidebar to the left, which shouldn't be too difficult, and I'd still like to figure out how to compress the sidebar into a set of submenus. In any case, you can see the list of solutions I've compiled for common Oasis problems here. I should also probably add a section about combining solutions, because if you mix the shrunken rail with the expansion buttons, it fails. At least, it does with the above code, the one I have the blog post should work fine with the shrunken rail. Anyway, I'm rambling - the basic idea is you can find solutions on that blog post.  Monchoman45  Talk  Contribs  Skystone  01:30,2/8/2011 

Thanks Monchoman45... the blog was a real help! —This unsigned comment is by Screamingbluemessiah (wallcontribs). Please sign your comments by adding "~~~~" in the source editor.

No problem!  Monchoman45  Talk  Contribs  Skystone  02:24,2/8/2011 
Finished the left-aligned sidebar code. For the time being, it won't play nice with the expansion buttons, but it should be ok with the shrunken rail. I'll get to work on the combining solutions section for the blog ASAP.
Here's the CSS you need:
.WikiaRail {float: left; padding-right: 0px;}
.WikiaMainContent {float: right; padding-right: 10px;}
.oasis-one-column .WikiaMainContent {float:right; padding-right:0 !important;}
Also, FAQ'd.  Monchoman45  Talk  Contribs  Skystone  21:48,2/8/2011