I'm using the following hook based extension in my localsettings to add a small 
<span> tag to every page with a link back to the domain root:

$wgHooks['BeforePageDisplay'][] = 'lfMyTopLeftDiv';
function lfMyTopLeftDiv( OutputPage &$out, Skin &$skin ) {
$out->addHTML( "<span style='position:fixed;top:0px;left:0px; z-index:100;'><a 
href='https://mydomain.org' style='z-index:100;'>X</a></span>" );  
return $out;
}

It positions just fine in the top left of the page, but I can't the link to be 
on top of the logo. The logo div is on top and my hook span is hidden behind 
it. Z-index does not seem to help.

How can I get this <span> tag to be on top of the logo/menu?

-Rich
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to