MyBB Community Forums

Full Version: How to put banner adds?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to put banner adds on the header of my forum?

I know I should go to ACP then templates and edit the header of my theme and put the banner code there. But I don't have the banner code. I have the banner image file. The file is in JPEG format. I could do it if I had the banner code or banner link. But how do I put the banner there now when I have the JPEG file?
Upload the banner to your ./images folder and add this to your header template, changing banner to the actual name of your banner and somesite.com to the actual link.

<!-- Banner advert -->
<div style="text-align: center;">
<a href="http://somesite.com/">
<img src="images/banner.jpg alt="" />
</a>
</div>
<!-- End banner advert -->