Using my own graphics....

Started by FudPucker69, July 07, 2005, 11:14:07 PM

Previous topic - Next topic

FudPucker69

How can I insert my own graphics in the header of the page???  Ive gone through quite a few posts and haven't seen anything.

thanks....

Muldoon

Hey I just figured this out a couple days ago. Go into your index.template.php file and go about 145 lines or so down. You see a section stating:

// This part is the logo and forum name.  You should be able to change this to whatever you want...
        echo '
                                        <img src="', $settings['images_url'], '/smflogo.gif" width="950"

Just replace the /smflogo.gif with your new image!

FudPucker69

Quote from: Muldoon on July 07, 2005, 11:29:11 PM
Hey I just figured this out a couple days ago. Go into your index.template.php file and go about 145 lines or so down. You see a section stating:

// This part is the logo and forum name.  You should be able to change this to whatever you want...
        echo '
                                        <img src="', $settings['images_url'], '/smflogo.gif" width="950"

Just replace the /smflogo.gif with your new image!


I'm lost.   (tired too!)  I've looked for that line and can't find it anywhere......

There has to be an easier way to do this.....I really don't have time to learn PhP...

nokonium

And something like this if you want it centered

// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<center><img src="', $settings['images_url'], '/smflogo.gif" width="600" alt="" /></center>';



rustynails

#4
What I did is change the themes style.css  and changed this section background-color to background-image Example below:  Route to file, SMF_folder>Themes>Default>Style.css
It's the 5th Heading up from the bottom of page.

You would need to have a photo named back in your images folder in the Theme

/* This is the white header area where the title, menu bars, and header boxes are. */
#headerarea
{
   background-image: url('images/back.jpg');
   border-bottom: 1px solid gray;
}

Advertisement: