Steam

Steam

Ocen: 1,047
Automatically Center Showcase Text
Autorzy: Aezillo i 4 innych współtwórców
Simple steps allowing you to automatically center text in your showcase.

   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
ORDER BEST STEAM DESIGN
If you're looking for someone to animate your profile, contact snaws design service.
Feel free to check his Website![www.snaws.design]
Step 1
Open your "Edit Profile" page in Firefox or Chrome. http://steamproxy.net/my/edit
Step 2
Go to your custom info box showcase and put whatever text you want to have centered.
Note: Emoticons will be avoided when automatic centering occurs.
Step 3
Now go into your browser's console by using one of these shortcuts:
  • Ctrl + Shift + J for Chrome
  • Ctrl + Shift + K for FireFox
You can also get to the console by right clicking anywhere on the page and selecting "Inspect Element, then clicking on the "Console" tab.
Step 4
Once you're in the console paste the code below and send it by pressing enter.
Note: on FireFox you'll need to type "allow pasting" before being allowed to send code.

function getTextWidth(text,font){var canvas=getTextWidth.canvas||(getTextWidth.canvas=document.createElement("canvas"));var context=canvas.getContext("2d");context.font=font;var metrics=context.measureText(text);return metrics.width} var strr='';var strr_in=document.getElementById('showcase_8_notes').value.split('\n');document.getElementById('showcase_8_notes').value='';strr_in.forEach(function(sttr_this){var cleanString=sttr_this.replace(/\[(.*?)\]/g,"");cleanString=cleanString.replace(/\:(.*?)\:/g,"");strr='';var str_width=getTextWidth(cleanString,"13px Arial");for(var i=0;i<parseInt(((600-str_width)/4)/4);i++) strr+="⠀";strr+=sttr_this;document.getElementById('showcase_8_notes').value+=strr+'\n'})



Congrats, you've automatically centered your info box text! Scroll down and click "Save Changes".
Closing Notes
We hope you enjoyed this guide. If you have a question, feel free to leave a comment.

Manually Centering Text Guide:
https://steamproxy.net/sharedfiles/filedetails/?id=956619670
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀The largest collection of profile guides. Follow for more.
Donate a coffee! Ko-fi.com/AeGuides
psssst...
Like what I do?
Donate a coffee! Ko-fi.com/AeGuides
Komentarzy: 33
Frosty 28 czerwca 2024 o 0:23 
RUS : Выберите что то одно из этого списка и напишите в моём профиле! Я отвечу СРАЗУ же!
TR :Bunlardan birini seç profilime yapıştır bende senin profiline yapıştırıcagım
ENG: Choose the one that's on the list and write in my profile, I will answer the same!
GER: Such dir eine Sache aus der Liste aus und schreib es unter mein Profil und ich mache es auch bei dir
+Rep best👹
+Rep killer👺
+Rep Good player 💜
+Rep Top Player 🔝
+Rep 300 iq 🧠
+Rep add me pls😇
+Rep very nice and non-toxic player😈
+REP U AR GOD?
+rep good player
+rep top
+REP nice man
+REP GOOD TEAM PLAYER
+rep get rekt
+rep good sucker
+rep 1love
+rep rly good
+rep the best
+rep nice ace dude :damien:
+rep top god man
+rep nice game)
+REP top dota player
+rep vacation player
Latvian Gypsy 7 lutego 2023 o 15:50 
Says undefined and I can't message anyone or use my steam anymore, lmao. Help! (Cleared the console and it went back to normal, but I still can't get the code to work)
ysl 20 października 2020 o 22:22 
thanks
hazel 25 września 2020 o 4:18 
code still works, basically the only guide left that works. bookmarking
Kenz 9 kwietnia 2020 o 13:33 
小林カンナ~★ 17 lutego 2019 o 17:04 
not working
shellcode  [autor] 28 stycznia 2019 o 13:41 
LSD 26 stycznia 2019 o 9:34 
code just says undefiend pls help
Jesse 13 stycznia 2019 o 0:06 
Butts <3
StarkiiL 24 grudnia 2018 o 3:35 
nope