Mentor
18-07-2009, 07:44 PM
I was talking to someone about the few "stylish" hacks i'm using on habbox, and though i may as well make a thread about it.
The hacks are userside are require you to have stylish installed in a firefox browser, there formed of some ***** css, but work well. At least on the default skin (not tested on others). Just remember these were written as quick hacks and are not great examples of code.
remember stuff u wana apply in a new sheet needs to be wrapped with
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("habboxforum.com") {
stuff here
}
First off, custom habbox banner, dont like the banner they use, have your own or use one that wasn't meant for that skin
body table[align='center'] tr td[align='center'] a[href='index.php'] img[src='images/forum_banners/classic.gif']{
display:none;
}
body table[align='center'] tr td[align='center'] a[href='index.php'] {
background-image: url(http://www.habboxforum.com/images/forum_banners/old/hxfdarkbanner3.png) !important;
width:730px !important;
height:120px !important;
display:block !important;
}
Just change the url to the banner image you want to use - change widths and height if needed too.
Another one i did, so i could see gommeincs avatar as his facebook photo instead, can be used for any account u want to see with a custom avatar on too :)
a[href='member.php?u=2339'] img {
display:none !important;
}
td[class='alt2'] table tr td[class='alt2'] a[href='member.php?u=2339']{
background-image: url( IMAGE_URL ) !important;
display:block !important;
width:200px !important;
height:241px !important;
}
2339 is just gommeincs user id, change it to the id of the user you want the custom avitar on :P
Just remember you can only see these hacks effects on the browser u add them too. no one else will see them.
Have fun, enjoy useless tips from a 20 second post
The hacks are userside are require you to have stylish installed in a firefox browser, there formed of some ***** css, but work well. At least on the default skin (not tested on others). Just remember these were written as quick hacks and are not great examples of code.
remember stuff u wana apply in a new sheet needs to be wrapped with
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("habboxforum.com") {
stuff here
}
First off, custom habbox banner, dont like the banner they use, have your own or use one that wasn't meant for that skin
body table[align='center'] tr td[align='center'] a[href='index.php'] img[src='images/forum_banners/classic.gif']{
display:none;
}
body table[align='center'] tr td[align='center'] a[href='index.php'] {
background-image: url(http://www.habboxforum.com/images/forum_banners/old/hxfdarkbanner3.png) !important;
width:730px !important;
height:120px !important;
display:block !important;
}
Just change the url to the banner image you want to use - change widths and height if needed too.
Another one i did, so i could see gommeincs avatar as his facebook photo instead, can be used for any account u want to see with a custom avatar on too :)
a[href='member.php?u=2339'] img {
display:none !important;
}
td[class='alt2'] table tr td[class='alt2'] a[href='member.php?u=2339']{
background-image: url( IMAGE_URL ) !important;
display:block !important;
width:200px !important;
height:241px !important;
}
2339 is just gommeincs user id, change it to the id of the user you want the custom avitar on :P
Just remember you can only see these hacks effects on the browser u add them too. no one else will see them.
Have fun, enjoy useless tips from a 20 second post