Pidgeon's profile picture

Published by

published
updated

Category: Web, HTML, Tech

A guide to making your own layout (simplified)

UPDATE:

I'm currently working on an updated version of this guide, and the second guide. I'll do my best to answer common questions. For those who have unanswered questions on this post, most of the answers are in this or my second guide, just read the whole blog post (*^▽^*)



Heyyyy! So, since I created my account I've been messing around with my own HTML stuff for my profile. I'm not an expert, but I would love to share some of the stuff I've learned and give some little templates to help other newer users! 


First of all, I can't recommend using the Spacehey test website enough. It's easy to use and lets you see what your code does when you plug it in. It's a lot better than just adding the code to your profile, saving, checking if it worked, troubleshooting, ect. 


Start with style tags and end with them too,

<style>

(your stuff)

</style>

these bad boys hold all of the stuff to change the actual layout of your profile. SO things like music and blinkies DON'T go in the style tags.


I didn't realize this when I first started but having your code in a certain order is important, if it isn't in order then the code won't work. So, if you run into an issue with your code I recommend 1st checking if you messed up the actual code, 2nd mess with where you placed the code.


Most of your coding stuff should be in the About Me section of your profile.


Here's some templates of code that I'm currently using on my profile (in the order they appear in code):


1) Loading Screen

body:before {

content: " ";

height: 100vh;

width: 100vw;

display: block;

position: fixed; 

top: 0; 

left: 0; 

z-index: 100;

background-image: url('YOUR URL GOES HERE');

background-size: cover;

background-repeat: no-repeat;

background-position:center;

animation: yourAnimation 2s ease 1s 1 normal forwards;

pointer-events: none;}

@keyframes yourAnimation { 0.0%{ opacity: 1;} 75%{ opacity: 1; } 100%{ opacity: 0;} }


2) Colors for the details (the colors of the info boxes, ect.) [for this one I make sure I use Spacehey CSS preview, because you can easily see what colors do what, and if they look good together. I also use HTML Color Codes to find all the colors I want!]

:root {

        --logo-blue: #(color number);

        --darker-blue: #(color number);

        --lighter-blue: #(color number);

        --even-lighter-blue: #(color number);

        --lightest-blue: #(color number);

        --dark-orange: #(color number);

        --light-orange: #(color number);

        --even-lighter-orange: #(color number);

        --green: #(color number);

    }


3) Background (to the left and right)

body

        {background-image: url(YOUR URL GOES HERE); no-repeat fixed; background-size:cover;

}

or, if you want to do a solid color:

body

        {background-color: YOUR COLOR CODE GOES HERE; no-repeat fixed; background-size:cover;

}


4) Background behind your pfp

main {

  background-color: COLOR CODE GOES HERE;

  color: COLOR CODE GOES HERE;


5) The contact symbols (I just use emojis but I'll update if I figure out how to use gifs :p)

.contact .inner a img {

    font-size: 0;

}

.contact .inner a img:before {

    font-size: 1em;

    display: block

}

.contact .inner .f-row:nth-child(1) .f-col:nth-child(1) a:before {

/* Add to Friends */

content: "INSERT EMOJI/SYMBOL HERE"

}

.contact .inner .f-row:nth-child(1) .f-col:nth-child(2) a:before {

/* Add to Favorites */

content: "INSERT EMOJI/SYMBOL HERE"

}

.contact .inner .f-row:nth-child(2) .f-col:nth-child(1) a:before {

/* Send Message */

content: "INSERT EMOJI/SYMBOL HERE"

}

.contact .inner .f-row:nth-child(2) .f-col:nth-child(2) a:before {

/* Forward to Friend */

content: "INSERT EMOJI/SYMBOL HERE"

}

.contact .inner .f-row:nth-child(3) .f-col:nth-child(1) a:before {

/* Instant Message */

content: "INSERT EMOJI/SYMBOL HERE"

}

.contact .inner .f-row:nth-child(3) .f-col:nth-child(2) a:before {

/* Block User */

content: "INSERT EMOJI/SYMBOL HERE"

}

.contact .inner .f-row:nth-child(4) .f-col:nth-child(1) a:before {

/* Add to Group */

content: "INSERT EMOJI/SYMBOL HERE"

}

.contact .inner .f-row:nth-child(4) .f-col:nth-child(2) a:before {

/* Report Profile */

content: "INSERT EMOJI/SYMBOL HERE"

}


6) Falling Images 

This was what I had the hardest time figuring out, but it actually isn't that hard. It looks intimidating bc it's a lot of text, but the only part you need to plug in is a url for whatever image/gif/sticker your using!

I use tenor (stickers only) for this part!!


<div class="snowflakes">

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>


body{

  background:#ededed;

}

/* customizable snowflake styling */

.snowflake {

  color: #fff;

  font-size: 1em;

  font-family: Arial;

  text-shadow: 0 0 1px #000;

}


@-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:https://proxy.everskies.com/a/https://proxy.everskies.com/a/2.5s,1s;animation-delay:https://proxy.everskies.com/a/https://proxy.everskies.com/a/2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,https://proxy.everskies.com/a/https://proxy.everskies.com/a/1.5s;animation-delay:3s,https://proxy.everskies.com/a/https://proxy.everskies.com/a/1.5s}


Once you have all that in the About Me section, you need to go to the Interests section. Insert the rest of the code in the General area!


 </td>

</tr>

<div class="snowflakes">

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  </div>

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  </div>

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  </div>

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  </div>

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  </div>

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  </div>

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  </div>

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  </div>

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  </div>

  <div class="snowflake">

    <img src="YOUR URL GOES HERE" width="50"/>

  </div>

</div>


7) Overlay

html:before {

  animation: grain 8s steps(10) infinite;

  background-image: url('YOUR URL GOES HERE');

  content: "";

  height: 300%;

  left: -50%;

  opacity:.2;

  position: fixed;

  top: -110%;

  width: 300%;

  pointer-events:none;

}


8) Adding a banner above your PFP

main:before {

width: 100%;

height: 125px ;

display: block;

content: "";

background-image: url('YOUR URL GOES HERE');

background-position: center center;

background-size: cover;

}

or if you want to have a solid color:

main:before {

width: 100%;

height: 125px ;

display: block;

content: "";

background-color: COLOR CODE GOES HERE;

background-position: center center;

background-size: cover;

}


9) Making an animated PFP

.general-about .profile-pic img {

content: url("YOUR URL GOES HERE");

}


10) Changing the symbol for your 'online' status

.online { visibility: hidden; } .online img { content: url("YOUR URL GOES HERE"); animation-name: none; visibility: visible; height: 43px; width: 90px; }


That's the end of the section located within the style tags!!! But I still have a few more things to share! 


11) Adding music!

this section needs to be outside of the style tags! The music should autoplay and loop indefinitely! 

<iframe width="0" height="0" src="YOUR URL GOES HERE?autoplay=1&loop=1&playlist=END OF URL GOES HERE" title="there i am, there i am again" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=" loading=" data-ruffle-polyfilled="">

</iframe>

add your url, and DON'T delete the questionmark. Copy the end of the url (after embeded. It should be random letters and numbers) and plug it in after playlist= !


12) Adding a new row in your interests section

<tr>

  <td>

    <p>LABEL FOR SECTION</p>

  </td>

  <td>

    <p> WHATEVER YOU WANT ON THE RIGHT COLUMN OF THE ROW </p>

  </td>

</tr>


13) Putting blinkies (or stamps but I haven't tested them) in a row

<img src="YOUR URL GOES HERE"height=30 width=150/><img src="YOUR URL GOES HERE" height=30 width=150/><img src="YOUR URL GOES HERE" height=30 width=150/>


14) dividing text/making new paragraphs

idk how to title this section but whatever. If you want to make sure text/images are separated here's how; feat. an example

<p>"The Picture of Dorian Gray" -Oscar Wilde</p>

<p> "Silence of the Lambs" tetralogy -Thomas Harris</p>

<p>"Wuthering Heights" -Emily Bronte</p>

<p>"No Longer Human" -Osamu Dazai</p>

<p>"Waiting for Godot" -Samuel Beckett</p>



That's all for now! I hope this is helpful for everyone! I know I have a hard time with some tutorials on here or Youtube, so I hope I simplified this well for other people just getting into this stuff! 

Please, let me know if you use any of these in the comments, and if you would like to have actual layouts posted for either of my profiles! Have fun! 


My side profile



759 Kudos

Comments

Displaying 20 of 102 comments ( View all | Add Comment )

J4Y x3

J4Y x3's profile picture
Pinned

HIYAA !!!!

This really helped!! Thank you!!!!

I do have a question though-- Is there a way to add videos as the "--darker-blue: #(color number);" thingy instead of just the colors? :3


Report Comment

NEWTON

NEWTON's profile picture
Pinned

Is there any way to make a background repeat?? I wanna use a certain pattern for my background but without it repeating it's too small to look good


Report Comment



Yeah! It's pretty easy. I'll give you a lil run down!

So, if you're doing the background behind the rectangle w/ your profile stuff, you use:

body

{background-image: url(YOUR URL GOES HERE); no-repeat fixed; background-size:cover;

}


You're going to take the "background-size:cover" area, and get rid of "cover." you can swap it out with a bunch of different stuff, it just depends on what you like.

I normally use percentages, but you can also use pixels (px). I usually only use px if you really want the images to be tiny, or ig really precise.

Hope this helps! Have fun with your profile! :D

by Pidgeon; ; Report

Thank you!!!!

by NEWTON; ; Report

OMGA BFDI PFP SPOTTED

by raii ☆; ; Report

f1nnw1z4rd

f1nnw1z4rd's profile picture

THIS IS FANTASTIC THANK U!!!!


Report Comment

strwbrry.shrtcke

strwbrry.shrtcke's profile picture

this is so helpful!!!!thank you!!!!! <3


Report Comment

Sagal

Sagal's profile picture

The loading screen thing doesn't work for me ;^( Is there anything wrong with my code here?
body:before {
content: " ";
height: 100vh;
width: 100vw;
display: block;
position: fixed;
top: 0;
left: 0;
z-index: 100;
background-image: url('https://imgflip.com/gif/91w0pv');
background-size: cover;
background-repeat: no-repeat;
background-position:center;
animation: yourAnimation 2s ease 1s 1 normal forwards;
pointer-events: none;}
@keyframes yourAnimation { 0.0%{ opacity: 1;} 75%{ opacity: 1; } 100%{ opacity: 0;} }


Report Comment



hey so probably too late, but i dont see anything wrong w it. have u tried to insert your code inside , before running it? worked for me ^o^

by panadoldelrey; ; Report

I insterted it inside the and but it won’t do ANYTHING, I’ve pasted that in general section and heroes section but it just won’t work :^(

by Sagal; ; Report

beforeused

beforeused's profile picture

I LOVE YOU I LOVE YOU I LOVE YOUUUUUUU THANK YOU SO MUCHHHHH!!!!!!!!!


Report Comment

Solus

Solus's profile picture

how do i add gifs


Report Comment



They work like images, just put the link of the gif and it will still work

by nad14_; ; Report

Selene

Selene's profile picture

Question: where do I go to get a loading screen?


Report Comment



You can use an image or a gif.

by nad14_; ; Report

Selene

Selene's profile picture

Question: where do I go to get a loading screen?


Report Comment

mik3ybit3z

mik3ybit3z's profile picture

thank you so so much this was genuinely so helpful :3 now my profile looks super cool!


Report Comment

Pina colada XD

Pina colada XD 's profile picture

I love you


Report Comment

deksior ⛧

deksior ⛧'s profile picture

TYSMMM UR THE BEST


Report Comment

tati ㄊ

tati ㄊ's profile picture

saving


Report Comment

Damian

Damian's profile picture

this really helped thank you!


Report Comment

dembasse

dembasse's profile picture

YOU'RE THE BEST THANK YOU SO MUCH


Report Comment

Felix >ᴗ<

Felix >ᴗ<'s profile picture

hey so what if im slow


Report Comment



despair

by dembasse; ; Report

wut i'm saying-

by truedracula; ; Report

〔 LEVI 〕

〔 LEVI 〕's profile picture

found out how to add images to your contact thingy !!

.contact .inner .f-row:nth-child(1) .f-col:nth-child(1) a:before {

/* Add to Friends */

content: "INSERT EMOJI/SYMBOL HERE"

replace "INSERT EMOJI/SYMBOL HERE" with url("YOUR URL")


.contact .inner .f-row:nth-child(1) .f-col:nth-child(1) a:before {

/* Add to Friends */

content: url("INSERT UR URL!!!")


Report Comment



what is contact do

by canned studios; ; Report

what is contact do

by canned studios; ; Report

Waki ><

Waki ><'s profile picture

THANKS UUUUUUUU, THIS HELPED SMM


Report Comment

AG.ICON

AG.ICON's profile picture

EEE thank you just made my account :P hopefully I got this


Report Comment

r and b

r and b's profile picture

thank you so much this was so helpful!!! :)


Report Comment