Difference between revisions of "Template:ETH Zurich/move elements"

(Update id for footer.)
(Inhibit footer movement for now.)
Line 4: Line 4:
 
$("header").insertAfter("#globalWrapper");
 
$("header").insertAfter("#globalWrapper");
 
$(".contents").insertAfter("header");
 
$(".contents").insertAfter("header");
$("footer-n").insertAfter(".contents");
+
/*$("footer-n").insertAfter(".contents");*/

Revision as of 18:27, 12 October 2017

/*

 Move header, contents and footer as far outside as possible of all those ridiculous divs, to avoid preloaded MediaWiki CSS.
  • /

$("header").insertAfter("#globalWrapper"); $(".contents").insertAfter("header"); /*$("footer-n").insertAfter(".contents");*/