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