Customizing SMF > Graphics and Templates

Inserting a logo

<< < (2/4) > >>

Saahilk2000:

--- Quote from: Killer Possum on April 12, 2012, 10:02:17 PM ---Ah, in that case, open up index.template.php and find (assuming you are using the default theme):


--- Code: (Line 185) ---<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />

--- End code ---

and replace it with your image.

--- End quote ---


I am sorry i am a little new to all this ... replace what exactly in that line? Can you please a little further?

Appreciate your help.

Saahilk2000:
and yes, i am using the default curve theme ...

Killer Possum:
The whole line. That replaces the SMF logo with the one you're trying to add.

So it'd be something like:


--- Code: ---<img id="smflogo" src="/path/to/logo.png" alt="Forum Name" title="Forum Name" />

--- End code ---

Saahilk2000:

--- Quote from: Killer Possum on April 12, 2012, 10:26:19 PM ---The whole line. That replaces the SMF logo with the one you're trying to add.

So it'd be something like:


--- Code: ---<img id="smflogo" src="/path/to/logo.png" alt="Forum Name" title="Forum Name" />

--- End code ---

--- End quote ---

Thanks a lot bro ... one last question ... considering that i uploaded the logo or the banner to my default themes image directory and my website name is   http://vblog.us/ , what would this code look like?

I am sorry if i am asking for a lot here, i just dont want to do anything wrong and screw up ...

Killer Possum:
No problem. It would be.


--- Code: ---<img id="smflogo" src="/Themes/plain-smf/images/name-of-image.png" alt="Forum Name" title="Forum Name" />
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version