FANDOM


This script is for PERSONAL use only!

You are free to install this script for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:Common.js or MediaWiki:Wikia.js), as it would violate FANDOM's Terms of Use. (See the customization policy)

DarkScrollingGlobalNav inverses the global navigation bar's colour (making it dark) while scrolling the page and causes the bar to be always shown, similar to the old global navigation bar's behaviour.

Usage

Add the following line to your global.css page (for personal use on all wikis). It must be at the very top of the page (with any other @import rules you may have) to work.

@import url('//dev.wikia.com/load.php?mode=articles&articles=u:dev:MediaWiki:DarkScrollingGlobalNav.css&only=styles');

You can also copy the contents of the MediaWiki:DarkScrollingGlobalNav.css page to your CSS page, if you prefer.

See also

  • DarkGlobalNav - always use the inverse global navigation bar styling

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.