alexiey's profile picture

Published by

published
updated

Category: SpaceHey

Coding tips for newbies: changing background #1

Yo! If you're new and want to create your own layout, here are some codes and tips for you! :)

When I firs joined two years ago, I found coding terrifying and difficult, but actually, it's not! So, here I am, your big sis from Spacehey to the rescue~ ;3



Let's start with the base info. To code your profile, put everything in your "About me" section or "Who I'd like to meet". Putting it in your interests work, but it's very messy later on. I do not recommend that. And remember, "<style>" and "</style>" are necessary to work! Do not delete them!


There are many layouts already made that you can choose from here, so go check them out! Many people are skilled and much better than me, duhh.

Now, let's start with the codes!


If you would like to have a picture, use this code:


<style>
body {
     background-image: url("URL-HERE") !important;
     background-color: black !important;
     background-attachment: fixed !important;
     margin: 0;
     padding: 0;
}
</style>


Replace URL-HERE with the URL to your picture. It's very simple! Just right click on your picture and click "Copy Image Adress".

However, if you would like to have a plain color as a BG, use this:


<style>
body {
     background-color: COLOR !important;
}
</style>


Replace "COLOR" with the name of your desired color.


And that's it! Really simple, right? Good job, you have changed your profile background. The first part is after you. Go wild!  Feel free to ask any questions if needed, im here for you. I love you all!


38 Kudos

Comments

Displaying 3 of 3 comments ( View all | Add Comment )

VamprClots

VamprClots's profile picture

I love helpful coding posts like these!! :3


Report Comment

☆ STARBECKS ☆

☆ STARBECKS ☆'s profile picture

hi, how to do make the picture repeat multiple times? It uploads as one big picture, and it gets covered by my profile since the character I want is in the middle.


Report Comment

Snowfall

Snowfall's profile picture

It isn't working D:


Report Comment



the question is which one. both of them do work, and a small change might break them. feel free to im me, ill help you with that :)

by alexiey; ; Report

its working now, i was just using my phone b4 instead of a laptop XD :D

by Snowfall; ; Report