News Archive

anniesattic
Posted by anniesattic on 12th of June 2010 at 03:09 PM NST
We have now fixed all our guild layouts and gallery layouts to compensate for the new ad on Neopets, they should all now work perfectly.


Yay they are all done!


Should you need to fix your own layouts copy and paste these codes somewhere in the middle of the coding for your layout.

For guild layouts we used the same coding as for the lookups:

 
#ban {display:none;}
#main {margin-top:0px; margin-left:0px;}
 

or you could use it without the margin to the left:

#ban {display:none;}
#main {margin-top:0px;}

For gallery layouts:
#ban {display:none;}
#main {margin-top:0px;}
#pushdown_banner {display:none;}
#ad-slug-wrapper {display:none;}
#ad-table {display:none;}

We found that occasionally in the gallery layouts the removal of the ad made the main background of the layout move to the left. Should this happen for you fixing the position of the background will sort it out. To do this make sure your code for your background has the background attachment fixed. It should look something like this:

body{background:url('YOUR IMAGE URL HERE');background-attachment:fixed;}


Many thanks go out to bleelow2 for sending us the codes to remove the ad in the galleries.