News:

Wondering if this will always be free?  See why free is better.

Main Menu

Inserting a logo

Started by Saahilk2000, April 09, 2012, 10:03:02 AM

Previous topic - Next topic

Saahilk2000

I was hoping someone could guide me how to make these changes.

I want to put a customer logo for my website and it is slightly large in dimensions (because i wanted it that way) but if i put it on the left side, it overlaps the logged in user info and if i put it on the right (replacing the smf logo) , it overlaps the search button.

Is there any way to increase the space assigned so that if the logo is large, these fields would move down slightly, automatically? I am using SMF 2.0.2, default curve theme.

ARG01

This topic will explain on how to add a header banner to the top of your SMF default theme. If that may work better for you?

Link

;)
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

Killer Possum


Saahilk2000

Quote from: Killer Possum on April 12, 2012, 08:51:41 PM
Have you tried the steps listed in the wiki? - http://wiki.simplemachines.org/smf/How_to_change_the_logo

I did but the logo is a bit large so it kind of doesn't fit in there and covers the user information below it.

Killer Possum

Ah, in that case, open up index.template.php and find (assuming you are using the default theme):

Code (Line 185) Select

<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />


and replace it with your image.

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) Select

<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />


and replace it with your image.


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:


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

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:


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


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.

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

Saahilk2000

Quote from: Killer Possum on April 12, 2012, 11:11:50 PM
No problem. It would be.

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

Got this error message.

The file you tried to save generated the following error:
Parse error: syntax error, unexpected T_STRING in index.template.php on line 190


Killer Possum

You need to escape any single quotes like this

they\'re

Trustar

I need some help uploading an img to the banner on the FIREROCK theme... I'm following this http://wiki.simplemachines.org/smf/How_to_change_the_logo   ... I have this as an image http://s45.photobucket.com/albums/f57/Trustar1986/rgv4cyltop10/?action=view&current=rgv4cylbanner.jpg   Now, my only issue is how to upload it so it will work !!! I have not messed with the coding or anything in over 3years I normally pay someone to work on my site but, I thought this would be simple.. Can anyone help me out ?? PLEASEEE!!! lol

Deezel


Trustar

I got it uploaded, now I just need to know what to do from there .. lol...

here's the link www.rgv4cyl.net

Deezel

have you tried this method
Admin--->Configuration--->Current Theme. Then scroll down to the Theme Options and Preferences area. Then put the following link ( your logo) into the space to the right of Logo image URL
http://i45.photobucket.com/albums/f57/Trustar1986/rgv4cyltop10/rgv4cylbanner.jpg <--- this link goes in the box to the right of Logo Image URL

Trustar

The theme I'm using doesn't have that Logo URL spot... :(
This is all it has
Then if I scroll down it's mainly just check boxes

This theme's name:
This theme's URL:
This theme's images URL:
This theme's directory:

Deezel

ummm... okay, can you post your index.css file?

Trustar

O_o if only I knew exactly what that was I would. LOL

Deezel

If Using FTP:
/public_html/Themes/firerock/css/index.css

Advertisement: