PROFILE CUSTOMIZATION TUTORIAL FOR JAI WIP !!!
by garlic18
About this guide
Im not a professional coder :) Everything im sharing here is the result of many hours spent reading other guides and experimenting on my own. Take a look at this guide which also contains many interesting tips
Ethics
PLEASE READ
Remember that your profile is visible to all users who visit it, so it needs to be optimized and appealing enough not to give anyone a headache trying to decipher the bots' names. Use colors with good contrast and not an ultra pastel pink on pure white! Use an easily readable font! Remember that some users are on a phone, and therefore, cannot pass their "mouse" over the image of a bot, so avoid it being hidden or blurred by default. In general, you should avoid overloading your profile or adding too many heavy images. Also avoid automatic audio players or at least give other users the option to pause.
Thank you :)
Come up with an idea
I believe it's a bit difficult to jump straight into coding without a real idea. What I usually do is look for sources of inspiration! It can come from anything, a poster, an album cover, ur own art, or even a billboard. The point of doing this is to have something to refer to if u feel lost or miss something. This will also enable you to determine which colors will be used, and if your source of inspiration has text, to get an idea of the font.
If you prefer to use another method, that's up to u! However, I really recommend that you have a clear idea of what you want to achieve before you start coding :D
How to use a source of inspiration
I'll use an example to give an idea of the many ideas that can be drawn from a source of inspiration.
From this image i can retrieve many elements: font, color, and a general theme.
Use the color of an image
You can use websites to retrieve a color from an image and obtain its HEX code, which you can then use for coding.
https://imagecolorpicker.com ☆ https://redketchup.io/color-picker
Color (HEX) | Usage |
---|---|
#000a0c ■ | background |
#121d1f ■ | second background |
#3f4a4e ■ | border |
#9db0b6 ■ | text |
#3e494d ■ | sub text |
All these colors come from the image above. I've assigned them a role, so i can easily refer to them when creating the profile! :)
I don't know any site that is particularly good at recognizing fonts, so i often go to Google Fonts and Free Webfonts to look for one that matches my example. For now, just choose a font u like and keep it aside, I'll explain how to use it.
Color Hex Code
The “hex” in hex code stands for hexadecimal, a base-16 numbering system that uses sixteen symbols: 0-9 and A-F. This system allows for over 16 million possible color combinations, making it a very powerful tool for designers.
source
Preparing the profile
Once your idea is ready, before you start coding, you can personalize your profile a little.
What? | How? |
---|---|
background | click on “edit profile” on ur profile page, then choose “Change Background Image” and upload your image. I like to use solid colors, but u can use a pattern or other, the choice is yours! |
text | to change the text color, click again on “edit profil” on your profile page, then on “Change Background Color”. A window will appear, scroll down to “Text Color” and paste the HEX code u previously chose. |
profile card background | You can change the color of your profile card by going to the same menu as for the text color, but this time paste your HEX code in “Background Color”. |
Let's start coding!
If ur idea is well established and you have the resources to start coding, then it's time to get coding (ᵔ⩊ᵔ)
Where to code on JAI?
There are currently two ways to code on JAI. The first is to click on your profile, go to settings, then to the “about me” section.
about me section
But I think there's a more effective way. Go back to ur profile page and click on the “edit profile” button.
edit profile button
After clicking this button, u should see an “edit css” button centered at the top of ur profile.
edit css button
Once u have clicked on this button, u should see this:
coding interface
This is the place to code! I prefer to use this than the about me section in the parameters, because even if the result remains the same, this coding interface features auto-completion which makes coding much quicker and easier! :D
How to code on JAI?
To customize your profile on JAI, you'll need to use a programming language called “CSS” (cascading style sheet).
What is CSS?
CSS is a programming language used to assign a style to an HTML element.
An element is what makes up a web page. An image is an element, a text is an element... And every element on JAI has a class! Thanks to this, we can modify them by identifying them in our code and assigning them a style other than the predefined one. To find out the class of an element, you need to “inspect” it.
...see "find elements to modify"
How to code in CSS?
First of all, its important to have a document similar to this one:
There is NO need to rewrite these tags multiple times!
Keep your code clean!
Its really important to have a clean code so as not to get lost! Here are some examples:
It's an organized, commented code, u won't get lost!
This code is not very organized and not commented, you risk getting lost and doing stupid things! :<
Comments in CSS
Comments are lines of code that the computer ignores. That means u can put whatever you want in them! I HIGHLY recommend that you put as many comments as possible on each element to remember which element it is!!!
How to make a comment?
Find the elements to modify
Place your mouse over the element you want to modify (or select text) then right click and search for "inspect element".
Once you click on "inspect element" you should see something similar to this appear on your screen:
This is where you will be able to find the class of an element.
If you were focused on an element, then this window will open highlighting the element in question. If I had selected the text "public characters" and inspected the element this is what I would have seen :
The code corresponding to the selected element has a blue background to highlight it.
<h2>text</h2>, class="class name"
<h2>text</h2> is an html element corresponding to a title. The largest is H1, the smallest H6.
class="class name" is placed inside a tag (example: <h2 class="class name">text</h2>) this is what allows you to know the class of an element!
How to customize your profile card?
Here you will find pieces of pre-made code accompanied by advice.
Center your profile picture, username, follower count
Inpired by Rosewing's code.
Make a "wide" profile picture
ㅤ
I highly recommend centering ur profile picture and putting the username and follower counter below the picture for a better look!
Add this code or the one below if u don't want the text to be centered.
Add a mask to your profile picture
Choose an image, but be aware that it will have to be transparent!
☆
☆
These three work because they have a transparent background. It's a bit awkward, but basically, what isn't transparent will become transparent, and that's what makes the mask. The background, on the other hand, needs to be transparent, as it will delimit the mask. You can find lots of amazing masks on pinterest or other sites :D
Make the background transparent
If u find an image that suits u perfectly, but the background isn't transparent, I recommend using sites that remove it for u!
https://www.remove.bg
Once you've decided on your image, you'll need to upload it to an image hosting site. It's a bit tricky to find a good image hosting site, so I recommend you do your own research or use catbox or imgur.
If you're using imgur, once you've uploaded the image, right-click on it and click on “copy image address” to get a direct link.
direct link | NOT a direct link |
---|---|
https://i.imgur.com/iaHN5zn.jpeg | https://imgur.com/gallery/recent-photos-of-noodle-ILcuThq |
A direct link ends with the file name (jpeg, png...)
When you're good with the image and have a direct link, you can move on to coding.
Credits to maddieismystar's code.
Follow button
There are ample resources about the follow button on CSS for JAI, I recommend u go there to personalize ur button.
Using fonts, working on text in CSS
If you haven't made your choice of font yet, I recommend these sites to find a good font! (^‿^)
- Google Fonts
- Free Webfonts (please note that this site may be down sometimes.)
How to Google Fonts
To use a font from Google Fonts, here are the steps to follow :
- Click on the font you have chosen then on "get font"
- You should see a menu appear, click on "get embed code"
- After clicking on "get embed code" you should arrive at this submenu, click on @import
- Simply copy the code and put it at the top of your CSS document.
- This is how your document should look :
- Now go back to google font and copy this part :
- This is how your document should look :
Now, if u want to change the font of anything, take the class of the element in question and add :
Like that :
An @import rule must be defined at the top of the stylesheet or it will be ignored.
Of course, you can add as many @import as you want. Just make sure they are always at the top.
How to Free Webfonts
There are fewer choices than on Google Fonts, but the use is a little simpler. Go to the site, search for a font that suits you, then copy the code.
Now, u just have to put it in your document :
Choose a font for all text on your profile
Universal selector
The universal selector : * is a special selector that applies style to every elements on your page.
However, some text may not be affected, you will need to retrieve their class and apply 'font-family' to them anyway.
Working with text with CSS
Its possible to change text beyond just color or font with CSS, here are some examples.
code | result |
---|---|
text-transform: uppercase; |
CAPITALIZES ALL LETTERS OF AN ELEMENT |
text-transform: lowercase; |
puts all letters of an element in lowercase |
font-weight: normal; |
if you have bold text by default, this allows you to remove it |
font-weight: bold; |
bold text |
font-size: NUMBERpx; |
change text size |
font-variant: small-caps; |
![]() |
font-style: italic; |
italicizes a text |
text-decoration: line-through solid #COLOR; |
|
letter-spacing: NUMBERpx; |
c h a n g eㅤ l e t t e r ㅤ s p a c i n g |
Create a “neon” effect
To create a neon effect, simply use text-shadow
.
Result :