Forum:Adding links to top bar


 * Wikia: WBVDKT

I've always been against Oasis as it makes features more... distinct (for lack of a better word) and therefore hard to find. I want to remove the slide-down menu (with options to delete, edit etc.), the facebook like button and the talk link then readd them next to the slidedown menu which ends in a link to history, then I want to add a history button too incase the menu for whatever reason doesn't work (like on an iPad). Is any of this possible (which I imagine it is), and could anyone provide me with the code or resources I need to execute this plan? I'de imagine it comes in the form of me adding stuff to the javascript or cascading style sheet...

Thanks,

--User:Kris159 (Talk) 21:03, April 1, 2011 (UTC)

Most of it is but cannot be done wiki wide. It would be for personal use only. None of this has been done before as far as I know and so would take someone very good with css and js to work it out. Talk with User:Monchoman45.--


 * I feel totally special right now. I'm not sure I completely understand what you're asking, though: you said you want to remove the edit button dropdown, but then you said you want to add things next to the dropdown menu? Moving stuff around is easy and can definitely be done, but not wiki-wide as far as I know.


 * I don't mind if it's not wikia-wide, since my community is small. I want to remove the edit dropdown menu, and place it next ot the history drop down menu. I also want a history button next to that, and to move the facebook like and talk page buttons next to those, so it's all in line with the history drop down menu. --User:Kris159 (Talk) 23:03, April 1, 2011 (UTC)
 * Aha - that's easy. Add this to your JS file:

 function MoveEditButton { var button = $('#WikiaPageHeader .wikia-menu-button').clone; $('#WikiaPageHeader .wikia-menu-button').remove; button.appendTo('#WikiaPageHeader details'); $('#WikiaPageHeader').append('History'); }

addOnloadHook(MoveEditButton);
 * That should do it. Let me know if there are overlapping problems or anything like that.


 * Where do you get this stuff? P.S. no overlapping occured, what about a history button and moving the talk page button? P.S. 2: Overlapping did occur, found the history button a few pixles down the page. I have a code anyway that moves the page slightly up, you should take a look at this. --User:Kris159 (Talk) 23:50, April 1, 2011 (UTC)


 * Whoops, forgot about the talk page button. Replace the above code with this:

 function MoveEditButton { $('.commentslikes').prependTo('#WikiaPageHeader details'); $('#WikiaPageHeader details').prepend('History'); $('#WikiaPageHeader .wikia-menu-button').prependTo('#WikiaPageHeader details'); }

addOnloadHook(MoveEditButton);
 * I'd also suggest adding  and   to your CSS to make the details bar wide enough to fit everything.


 * Thanks for all the help. Does it violate anything if I make it wikia-wide? User:Kris159 (Talk) 11:52, April 2, 2011 (UTC)
 * It is likely that it does violate the ToU. Most changes to the interface do.