MyBB Community Forums

Full Version: Signature line replace with an image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Edit the signature line and replace it with an image instead

Admin CP >> Templates & Style >> Templates >> YOUR THEME >> Post Bit Tamplates >> postbit_signature
Replace the code with this

<center><img src=""></center>
Nice tutorial, but:
  • <center> tag is deprecated
  • img has no defined dimensions
  • img has no defined alt (alternative content)
  • img has an external source
SvePu can you share a correct HTML code?
Use something like alt="signature_image" style="text-align: center; max-width: 250px;" in img tag...
<div class="text-center"><img src="" alt="" width="" height=""></div>

Width and height dimensions must be the actual dimensions of the image.

Add to global.css:

.text-center { text-align: center }