Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /=======================================\
- | NGG Forum Revamp |
- \=======================================/
- 1.) Deactivating the sticky function:
- -> Head to the index.php file and locate the following:
- $(document).ready(function() {
- if ( $('#userBar').length ) {
- uix.stickyItems['#userBar']= {normalHeight:parseInt('40px'), stickyHeight:parseInt('40px')}
- uix.stickyItems['#userBar'].options = {scrollSticky: uix.stickyGlobalScrollUp }
- }
- });
- -> Change both instances of '40px' to '0', as such:
- $(document).ready(function() {
- if ( $('#userBar').length ) {
- uix.stickyItems['#userBar']= {normalHeight:parseInt('0'), stickyHeight:parseInt('0')}
- uix.stickyItems['#userBar'].options = {scrollSticky: uix.stickyGlobalScrollUp }
- }
- });
- ======================================================================================
- 2.) Removing the blue sticky banner:
- -> Locate the code which begins with (this may be in 'global' or 'header':
- NOTE: Make sure you're editing through global and not static via index.html
- <ul class="navRight visitorTabs">
- -> Snip it all and search for <div class="navTabs">, most likely in the same file. Once you've found this, you'll see <ul class="publicTabs navLeft">
- -> You want to get right to the end of that code block and dump your snipped code just after the closing </ul>, before the final <ul class="navRight visitorTabs">. You will now have one div classed 'publicTabs navLeft' and two classed 'navRight visitorTabs'. This isn't code breaking and is absolutely fine.
- ======================================================================================
- 3.) Eradicating the blue banner:
- -> Head back up to the main page, usually "global", "header" or rarely "index". Find the code block that begins with:
- <div id="userBar" class="stickyTop " style="display: block;">
- -> Delete that completely.
- ======================================================================================
- 4.) Hotfixing the floating icon:
- -> Still on the same page, search for the following IMG code: <img src="styles/uix_dark/uix/ngrp.png">
- -> Replace it with the following: <img src="http://bluman.net/res/ngrp/nggblue.png" style="height: 20px;width: 42px;">
- More soon.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement