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



1010 Kudos

Comments

Displaying 20 of 133 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



skibdi

by Channel; ; Report

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

9 pfp kewl >:3

by 𝘀𝗵𝗶𝗻𝗷𝗶; ; Report

9 pfp kewl >:3

by 𝘀𝗵𝗶𝗻𝗷𝗶; ; Report

no.1.greendayfan

no.1.greendayfan's profile picture

SUPER HELPFUL!! I MADE MY OWN LAYOUT TYTYTYTYTYTYYYYY!!!!!!


Report Comment

no.1.greendayfan

no.1.greendayfan's profile picture

SUPER HELPFUL!! I MADE MY OWN LAYOUT TYTYTYTYTYTYYYYY!!!!!!


Report Comment

bettyblair

bettyblair's profile picture

YOUR SO HELPFUL! ty


Report Comment

Enka!

Enka!'s profile picture

can you add to music a youtube music?? or is there special way i kinda dont understand


Report Comment



https://forum.spacehey.com/topic?id=98324

by yukiopizza; ; Report

Emi (>_<)

Emi (>_<)'s profile picture

This is very helpful! But can you explain about the animations in the first part?


Report Comment

Estefania <3

Estefania <3's profile picture

The falling images thing isn't working for me :(


Report Comment

Mina[|87

Mina[|87's profile picture

this was really helpful!! i didnt exactly create my own layout but it really did help me add things to the one i had already found!!:}}


Report Comment

a4nixo✮

a4nixo✮'s profile picture

thanks to your skibidi ahh, i could make my own layout..thx blud


Report Comment

Nayla 🎧

Nayla 🎧's profile picture

I'm that dumb?


Report Comment



yah no me too xd

by kurarada 🪽; ; Report

yam.x.te

yam.x.te's profile picture

tried alot of stuff out of this, THANK YOU!!! it really helped like ALOOOOT!!! : D


Report Comment

LadyQuietBottom

LadyQuietBottom's profile picture

Thank you Fox


Report Comment

Lily_>:D

Lily_>:D's profile picture

it did not work :c


Report Comment

Lily_>:D

Lily_>:D's profile picture

it did not work :c


Report Comment

Ashray Toki

Ashray Toki's profile picture

how do i change cursor ??


Report Comment



you can go to any cursor css website and just copy and paste the code it gives you i use https://www.cursors-4u.com/

by Just Amsterdam; ; Report

NOVΛ

NOVΛ's profile picture

This is great, thank you.


Report Comment

pugilist

pugilist's profile picture

i have too much cte to understand all of this


Report Comment

Matryoshka

Matryoshka's profile picture

eeeeeee thank u


Report Comment

꒰🧁 ꒱ parfait .ᐟ ֹ ₊ ꒱

꒰🧁 ꒱ parfait  .ᐟ  ֹ   ₊ ꒱'s profile picture

this made me feel dizzy


Report Comment



same

by JINNY; ; Report

uhgg samee 0_o

by CutieXAkio; ; Report