2
\$\begingroup\$

I am struggling to Center my image in my game's Steam page.

[img][center] --> Error

[center][img] --> Just prints a text "center" before and after the image :(.

How would a mere mortal center the image on Steam?

\$\endgroup\$

2 Answers 2

2
\$\begingroup\$

I don't think this is possible to do with Steam's markdown. I just opted to make my image exactly 618px wide (unsure if this has some special relevance, I would suggest experimenting with larger images too and see if those are automatically fit [most likely they will]). So center your wanted content on a larger transparent image.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ That makes me so sad, but well, we will live with what we have right ? \$\endgroup\$ Commented Jan 22, 2020 at 19:52
2
\$\begingroup\$

This is an old question but for future reference this is doable by inserting   characters in the description text. If you do it immediately before the [img] tag it will push the image slightly to the right. My images are 400px wide and I needed 26 of those non-breaking spaces to get the image to center.

Note that if you open the description editor again, the non-breaking spaces will be replaced by normal spaces, and if you save that, the centering will not work! So make sure you edit your description in a separate file that you copy-paste into the description box.

Hope it helps someone.

\$\endgroup\$
2
  • \$\begingroup\$ Its about as sad as the accepted answer. \$\endgroup\$ Commented Oct 6, 2023 at 13:58
  • \$\begingroup\$ Haha yeah sometimes you really notice how old the Steam codebase is... \$\endgroup\$
    – DukeOf1Cat
    Commented Oct 6, 2023 at 18:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .