 |
Category: Web, HTML, Tech
I wrote this by request but thought I would share this with everyone. If you are looking to hide any or all of the top nav bar buttons you can use these codes below. You can even replace display:none with background-image:url to put a background image behind the button.
NEW!! .msc {Hide the Games button} div#topnav.clearfix li#nav1000036 {display:none;}
.msc {Hide the whole row of buttons} div#topnav.clearfix a {display:none;}
.msc {Hide the Home button} div#topnav.clearfix li#nav1000000 a {display:none;}
.msc {Hide the Mail button} div#topnav.clearfix li#nav1000002 a {display:none;}
.msc {Hide the Profile button} div#topnav.clearfix li#nav1000010 a {display:none;}
.msc {Hide the Friends button} div#topnav.clearfix li#nav1000021 a {display:none;}
.msc {Hide the Music button} div#topnav.clearfix li#nav1000034 a {display:none;}
.msc {Hide the Video button} div#topnav.clearfix li#nav1000035 a {display:none;}
.msc {Hide the More button} div#topnav.clearfix li#nav1999999 a {display:none;}
.msc {Hide the YourName button} div#topnav.clearfix li#nav2500000 a {display:none;}
.msc {Hide the Lite/Full View button} div#topnav.clearfix li#nav3500015 a {display:none;}
.msc {Hide the My Account button} div#topnav.clearfix li#nav4000063 a {display:none;}
.msc {Hide the Sign Out button} div#topnav.clearfix li#nav4000064 a {display:none;}
.msc {Hide Lost Button - UK Users Only} div#header.clearfix li#nav1999999 a {display:none;}
4:43 PM
Powered by  | | English | | Albanian | | Arabic | | Bulgarian | | Catalan | | Chinese | | Croatian | | Czech | | Danish | | Dutch | | Estonian | | Filipino | | Finnish | | French | | Galician | | German | | Greek | | Hebrew | | Hindi | | Hungarian | | Indonesian | | Italian | | Japanese | | Korean | | Latvian | | Lithuanian | | Maltese | | Norwegian | | Polish | | Portuguese | | Romanian | | Russian | | Serbian | | Slovak | | Slovenian | | Spanish | | Swedish | | Thai | | Turkish | | Ukrainian | | Vietnamese |
|