MySpace is constantly changing its web site by either adding new features or improving current features. One of its most recent changes has been the new “web 2.0″ navigation bar, which obviously an attempt to try to modernize the website and make it easier to navigate.
This has caused a lot of problems in the customizing community as Myspace have changed their navigation bar coding structure which means that the codes that used to work will now be useless.
The Codes
Now that it seems Myspace have stopped (at least for now) updating their navigation bar code I can tell you how to customize it or hide it if that is what you want to do. Due to how they have coded this navigation bar there is limited customizing techniques that can be applied to it, but I will try and cover everything you can do in this post.
Note: These codes worked perfectly on the date this article was posted, if they do not work anymore then Myspace has probably changed their coding again and these codes do not work properly anymore.
Changing the Background Color
The one part of the navigation bar that most people will want to change is the background color. This is done simply by adding this CSS to your style sheet:
<style>
div.profileWidth table td {background-color:transparent !important;}
</style>
Styling the Navigation Bar
Only changing the background color is a bit boring, so here is the code for how to change the font, text-size, link colors, etc:
<style>
.r {color search area and behind the ad}
div.profileWidth div {background-color:red !important}
.r {style the links}
div.profileWidth div ul li a {font-family:comic sans ms; font-size:12px; font-weight:bold; color:red !important;}
.r {link hover style}
div.profileWidth div ul li a:hover {color:white !important; background-color:blue !important; display:block;}
.r {remove shadow in google search box}
div.profileWidth div.clearfix {background-image:none !important;}
</style>
Hiding the Navigation Bar
The following code will hide the navigation bar, shortcuts, google search and Myspace logo. This code should only be used if you intend to create your own navigation at least so people can get back to the homepage (for example if you are making a div layout). If you are looking for a code to hide your profile so that you can start a div layout then here is a link to a fully working hide profile code that I personally keep up-to-date.
<style>
div table div form {display:none!important}
div table div select {display:none!important}
div table div .mslogo {display:none!important}
div div table div li {display:none!important}
div table div .profile {display:none!important}
table.rail {position:absolute; top:-100px !important;}
div div table div, div.clearfix a, input {display:none;}
div.clearfix table div div {display:block;}
</style>
So there we have it, all the up-to-date codes you will need to customize the new Myspace navigation menu and make your page look as good, if not better than it did before!
Related:
Responses to “Customizing the new MySpace navigation bar”
September 15th, 2008 at 9:21 pm
thanks ive been trying to figure out how to get rid of that damn navigation bar.
but is there anyway to hide that bar it leaves behind?
September 22nd, 2008 at 3:11 am
Maybe you should make the background of the navigations bar an uploadable file.
say I wanted it to go with a certain profile. I could upload a picture which would be the small background of the navigational bar, instead of having a forest background with a solid green bar.
October 9th, 2008 at 1:42 pm
Thanks for this. Almost got it perfect. The only thing I have is when I get to the drop down menus on the nav bar I still have blue text and the dashed border I have is also blue. I don’t see any more blue left in the code u have. Just wondering if you know if this is changeable. Thanks :]
October 13th, 2008 at 11:38 pm
Omq yOu quys aree the best. uqhh i been lOOkinq fOr thee cOdee tO hide my naviqatiOn bar && ii finally fOund One that wOrks. =] thnxx.
November 16th, 2008 at 7:18 pm
Hi, here I am in November and it’s not working for me - do you know if this code is now outdated, or am I doing something wrong? I’m trying to input it in the css box on the 2.0 customizer.
Thank you!
November 16th, 2008 at 9:07 pm
Hi Tia,
I am afraid that the new profile 2.0 pages have totally different code structure, and so a lot of the normal codes will not work on it. You can always switch back to the profile 1.0 page if you like, or use the Myspace editor to make changes to the navbar (it’s probably better unless your trying to hide it anyway).
I will be playing about with the new profile 2.0 soon, expect to hear a lot about it from me in later blog posts.
Although i’m still not sure how the new profile 2.0 works, so it might be that you cannot use certain CSS on it (e.g. to hide parts).
December 5th, 2008 at 1:38 am
the myspace 2.0 editor needs to let us change the color of the navbar! how has no one been able to figure out a hack for this??
February 9th, 2009 at 6:30 am
omg.
thank yall so much.
ive been looking everywhere for these codes.
and no other ones work.
but any ways yall are the best.
thank you.
February 11th, 2009 at 9:34 pm
Thanks for the information. I used your code to hide the navigation bar. It was successful, but a side effect is that now when I try to “Edit Profile” to make additional changes, none of the fields are visible. I can not access the About Me/Basic Info section to edit it further, because it is now invisible in the editor. It seems that I am basically locked out of my page editor now. Do you have any suggestions?
March 8th, 2009 at 10:21 am
the code for “hide navigation bar” doesnt work… i pasted the code in the CSS box of “customize profile” and when i published it… the navigation bar was still there… just wanted to let you know =)
March 8th, 2009 at 5:25 pm
This hide code was ment for Profile 1.0 (not the new one) and was posted before profile 2.0 even came out. Thats probably why it doesn’t work on profile 2.0 Tony.
June 11th, 2009 at 3:37 pm
well i was just wodnering do you have the code or if you know were to find the code to hide the navigation bar for 2.0 myspace can you wrtie back and let me know thanxz :]
June 27th, 2009 at 7:32 am
I use the codes for myspace and magic happened. It worked for me. Thanks.
November 12th, 2009 at 12:15 am
do you know how to make it skinnier… I want it the color that my layout is given just smaller…
November 25th, 2009 at 7:51 pm
[…] Special Election Concludes, Life-Time Membership Passes « Conference of Inter-Mountain ArchivistsBeware Action Director on Board | Oxford College of MarketingSomni Creative Inc. News & Updates » Blog Archive » CUSTOMER IS KING What makes good design? at Black Pig :: todaykool blog » Blog Archive » Testking VCP-410My thoughts on the making of glass… « the z-beads blogNewsletters | Susan Howson Investment AdvisorCustomizing the new MySpace navigation bar - Hacking MySpace […]
August 21st, 2008 at 1:11 am
hey
one of my blogs the navigation bar doesn’t show up
do you have a way to fix that