[For 1.6] Signature line replace with an image
#1
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="https://i.servimg.com/u/f44/17/34/84/29/217.png"></center>
{$post['signature']}
[Image: banner.gif]
Reply
#2
Nice tutorial, but:
  • <center> tag is deprecated
  • img has no defined dimensions
  • img has no defined alt (alternative content)
  • img has an external source
Reply
#3
SvePu can you share a correct HTML code?
[Image: banner.gif]
Reply
#4
Use something like alt="signature_image" style="text-align: center; max-width: 250px;" in img tag...
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#5
<div class="text-center"><img src="https://i.servimg.com/u/f44/17/34/84/29/217.png" 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 }
What goes around comes around
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)