Have you ever seen a myspace layout that you liked but wanted to change the color of this or the font of that and didn't know how? Well I am going to attempt to show you how to do just that. Below is a layout I took from another layout that I did not write and I edited it to my own liking. Luckily, I know a bit about html and css so I could do it, but for the ones that don't know much about it, then I will add somewhat of a detail explanation below the code. First, I added the code in quotes with things you can change in red, there are more things you can change but I tried to keep it simple and added what I thought would be easiest to explain. After that I added the code so that you can copy and paste into your About Me section and then from there you can edit the things you see on this page in red. So you will need to refer back to the things in quotes. If you have any questions about what I am attempting to show you how to do, then you can post them in this forum and I will try to help you out to the best of my abilities. Once you get the hang of this, then you will be able to edit any myspace layout code you see. So let's get started!
<style>.i {display:none}{! color top menu !}div.profileWidth table td, i i i.x {background-color:transparent !important;}{! color search area and behind ad different than top menu !}div.profileWidth div {background-color:transparent !important}{! color link font in top menu !}div.profileWidth div ul li a {font-family:verdana; font-size:11px; font-weight:bold; color:black !important}{! link hover color !}div.profileWidth div ul li a:hover {color:white !important; background-color:transparent !important; display:block}{! remove shadow in google search area !}div.profileWidth div.clearfix, .i i i {background-image:none !important;}</style>
Play around with the settings to get different results. I used this website to help write this explanation of the codes, if you are interrested in learning more this is a great website to start! http://www.w3schools.com/default.asp
Font-Family = This is the kind of font (The type of letters shown on the page) like Veranda, Arial, San serif, etc.
Font-Size = The font-size property sets the size of a font. You can use words such as small, medium, large or you can use px (like 9px)
Font-Color = The will set the font color. Use the 6 digit hex color if you know it or you can type the color in. Example FFFFFF or White. To find more hex colors go to this website: http://www.december.com/html/spec/color.html *Remember do not add the # sign before the hex code, it might mess up your layout code.
Text-Decoration = The text-decoration property decorates the text. Possible values None Defines a normal text Overline Defines a line over the text Line-Through Defines a line through the text Underline Defines a line under the text *These are a neat effect to add to the hover codes.
Text-Transform = The text-transform property controls the letters in an element. Possible values None Defines normal text, with lower case letters and capital letters Uppercase Defines only capital letters Lowercase Defines no capital letters, only lower case letters Capitalize Each word in a text starts with a capital letter
Line-Height = The line-height property sets the distance between lines.
Background-Image url = If you have a background image to add you put in the url here if you do not then simply add none.
Background-Attachment = The background-attachment property sets whether a background image is fixed or scrolls with the rest of the page. Possible values Scroll The background image moves when the rest of the page scrolls Fixed The background image does not move when the rest of the page scrolls
Background-Position = The background-position property sets the starting position of a background image. Possible Values (If you only specify one keyword, the second value will be "center") top left top center top right center left center center center right bottom left bottom center bottom right
Background-Repeat = The background-repeat property sets if/how a background image will be repeated. Possible values Repeat The background image will be repeated vertically and horizontally Repeat-X The background image will be repeated horizontally Repeat-Y The background image will be repeated vertically No-Repeat The background-image will be displayed only once
Background-Color = The will set the background color. Use the 6 digit hex color if you know it or you can type the color in. Example FFFFFF or White. To find more hex colors go to this website: http://www.december.com/html/spec/color.html *Remember do not add the # sign before the hex code, it might mess up your layout code.
Hover = The :hover pseudo-class adds a special style to an element when you mouse over it.
Border = You can set the border around the tables. Here are some examples to use. Experiment with this and find which you like best. None Dotted Dashed Solid Double Groove Ridge Inset Outset
Border-Width = Sets the width of the border. Possible Values: You can set it in px, like 0px, 1px, 2px, etc. Thin Medium Thick
Also look for the contact table and you can change the url if you have a custom contact table. Don't forget to change the size to the contact table that you have so it will show.
Also, you can change the scrollbar colors. Play around with them and you will see. To get a picture of what is what, go to this website and see what the scrollbar looks like: http://jacorre.com/design/scrollbarcolor.htm
The bottom code is to change the new navbar in myspace.
Now this is where you can copy the code used above and change the things on this page in red to your own liking:
<style>.i {display:none}{! color top menu !}div.profileWidth table td, i i i.x {background-color:transparent !important;}{! color search area and behind ad different than top menu !}div.profileWidth div {background-color:transparent !important}{! color link font in top menu !}div.profileWidth div ul li a {font-family:verdana; font-size:11px; font-weight:bold; color:black !important}{! link hover color !}div.profileWidth div ul li a:hover {color:white !important; background-color:transparent !important; display:block}{! remove shadow in google search area !}div.profileWidth div.clearfix, .i i i {background-image:none !important;}</style>
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum