Steam

Steam

1,047 평점
Automatically Center Showcase Text
Aezillo 님과 4명의 기여자가 작성
Simple steps allowing you to automatically center text in your showcase.

   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
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
댓글 33
Frosty 2024년 6월 28일 오전 12시 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 2023년 2월 7일 오후 3시 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 2020년 10월 20일 오후 10시 22분 
thanks
hazel 2020년 9월 25일 오전 4시 18분 
code still works, basically the only guide left that works. bookmarking
Kenz 2020년 4월 9일 오후 1시 33분 
小林カンナ~★ 2019년 2월 17일 오후 5시 04분 
not working
shellcode  [작성자] 2019년 1월 28일 오후 1시 41분 
LSD 2019년 1월 26일 오전 9시 34분 
code just says undefiend pls help
Jesse 2019년 1월 13일 오전 12시 06분 
Butts <3
StarkiiL 2018년 12월 24일 오전 3시 35분 
nope