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



1304 Kudos

Comments

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

GABRIEL

GABRIEL'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 GABRIEL; ; Report

OMGA BFDI PFP SPOTTED

by raii ☆; ; Report

𓆩matias𓆪

𓆩matias𓆪's profile picture

I HAVE TO CODE]?×?÷?÷?÷,÷ I WAS BAD AT CODING E0VERYWHE1RE I EVEN FAILED INFORMATICHS CLASS IN HS NOOOOOOOOO 3


Report Comment



Yes
But it's not that hard at all i made layout myself and at the start it was cofusing but if you want something simple it's really easy to make
If you prefer not to you can just found layout in "layouts" section.
There is other cool things you can add to ur profile find some tutorials they will help alot!

by Pandevia; ; Report

Ricky *~⋆。°✩~**

Ricky *~⋆。°✩~**'s profile picture

4 adding a GIF/Image 4 the contact symbols, its url("link")


Report Comment

shelly !!

shelly !!'s profile picture

OH MY GOD THANK YOU SO MUCH


Report Comment

°˖✧◝Elli◜✧˖°

°˖✧◝Elli◜✧˖°'s profile picture

TYSMMMMM <33


Report Comment

𝒞 ℯ 𝓁 ℯ 𝓈 𝓉 ℯ. 🪽

𝒞 ℯ 𝓁 ℯ 𝓈 𝓉 ℯ. 🪽's profile picture

Hii! This is SUCH a good tut, so thank you for that!

But, I am having one problem with finding my url code for my background image or just any image in general. I want to use Pinterest for the pictures but when I copy link adress it gives me jpg or smth similar instead of my url?

How do I fix thisss, please help!


Report Comment



Hi! I use pinterest too! So you'll have to open the pin, right click to "open image in new tab" then right click again and click "inspect image"! then copy element and copy paste that to take the url from in the code!! Hope this helps :3

by Pidgeon; ; Report

Spaceworms

Spaceworms 's profile picture

This is so awesome dude it helped me so much!!

also if yall want a picture behind your profile picture instead of just a colour heres the code <3





main {

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

color:#YOUR HEX CODE (for text) HERE;

}

<style>


Report Comment

Aereo_pazzo

Aereo_pazzo's profile picture

I've only gave a rapid look, beause I wanted to make a layput, and this looks very helpful.
Thank you matee!!!! <33


Report Comment

Xx_hExAnAs_xX

Xx_hExAnAs_xX's profile picture

ts so peak, thank you sir


Report Comment

☆ brae ☆

 ☆ brae ☆'s profile picture

I made my own contact symbols, but the old ones are still right beside them. how do I get rid of the old ones?


Report Comment

lika ∪・ω・∪

lika ∪・ω・∪'s profile picture

thank u sm it really helped,,


Report Comment

Pandevia

Pandevia's profile picture

i can't change my backround it just does not work for me i tried everything :(


Report Comment



Did you figure it out?

by Ellie!!<33; ; Report

Did you figure it out?

by Ellie!!<33; ; Report

DEMII

DEMII's profile picture

hey, I have a question, can I like move the boxes so they rotate?? I saw someone having them looking like a book, and I thought it's cool but I don't know how to do it??


Report Comment



who was it?

by Axpen; ; Report

☆Bill☆

☆Bill☆'s profile picture

Thank you, I just got on here and it was all really confusing, but this was really helpful


Report Comment

M4E

M4E's profile picture

STRADE PFP SPOTTED


Report Comment

MIAИ

MIAИ's profile picture

Thank u so much, that's very helpful! ^_^


Report Comment

𝐨𝐝𝐚𝐥𝐲𝐬

𝐨𝐝𝐚𝐥𝐲𝐬's profile picture

omg you're literally a goat vro thank you


Report Comment

xX_m1sty_Xx

xX_m1sty_Xx's profile picture

OMGGG TYSMMMM IMMA MAKE MY ACCOUNT LOKK PRETTY >:3


Report Comment

xX_m1sty_Xx

xX_m1sty_Xx's profile picture

OMGGG TYSMMMM IMMA MAKE MY ACCOUNT LOKK PRETTY >:3


Report Comment