Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: vegas tennis club on August 28, 2009, 04:01:01 AM

Title: Adding on banners
Post by: vegas tennis club on August 28, 2009, 04:01:01 AM
hi, i was wondering how i would add my own banner up at the top of my forum? 

thanks for any help!
Title: Re: Adding on banners
Post by: shadow82x on August 28, 2009, 02:27:39 PM
Yes its possible, depending on your theme you can add a code like:
echo '
<img src="http://bannerurl.com/image.png" alt="banner" border="0" />';

In your themes Index.template.php
Title: Re: Adding on banners
Post by: vegas tennis club on August 30, 2009, 04:24:12 AM
i'm sorry, i'm a newb and that was a bit confusing...  can you be a little bit more "step by step?"  sorry!  but thank you for your assistance!!!
Title: Re: Adding on banners
Post by: shadow82x on August 30, 2009, 01:08:17 PM
OK, so you want to add a banner at the top of your forum right?

Assuming your using the default theme, in ./Themes/default/index.template.php
Code (Find) Select
// Show the menu here, according to the menu sub template.
template_menu();

Code (Add After) Select
echo '
<img src="http://bannerurl.com/image.png" alt="banner" border="0" />';


Than please modify the image URL directly in that code.