Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: JENSSEN - tammikuu 15, 2012, 04:19:57 IP

Otsikko: I have a question, new and not so web tech savvy,.. probably simple
Kirjoitti: JENSSEN - tammikuu 15, 2012, 04:19:57 IP
Hey everyone,

Let me start by saying I am just learning so kids gloves with me please ,.. LOL

OK I have found a Template I like, I managed to figure out how to upload and activate it, but now I would like to change the "Banner" across the top that has the template name. I may be using the wrong term when I call it a banner.

I used template Black rain V.3 and would like to change the banner to the forum name.

I have spent a few hours searching the code for the "Black Rain V.3" in the wording to change it but no luck changing it...

I humbly ask for your assistance.

-Jenssen
Otsikko: Re: I have a question, new and not so web tech savvy,.. probably simple
Kirjoitti: The Craw - tammikuu 15, 2012, 04:29:23 IP
You can just replace the logo in the theme's images directory. It should be called logo.png. That would be easiest if you don't want to change the size too.
Otsikko: Re: I have a question, new and not so web tech savvy,.. probably simple
Kirjoitti: JENSSEN - tammikuu 15, 2012, 04:36:43 IP
Again excuse my ignorance but I would like to keep everything the way it is just modify it from "blackrain v.3" to my forums name, so do I have to create my own logo or i,age or just change the text somewhere
Otsikko: Re: I have a question, new and not so web tech savvy,.. probably simple
Kirjoitti: The Craw - tammikuu 15, 2012, 04:42:02 IP
In that case, you'll want to edit the code in that theme's index.template.php file.

Find:

<td align="center"><a href="'.$scripturl.'" title="', $context['forum_name'], '"><img src="', $settings['images_url'], '/logo.png" style="margin: 2px;" alt="', $context['forum_name'], '" /></a>


Replace:

<td align="center"><a href="'.$scripturl.'" title="', $context['forum_name'], '">', $context['forum_name'], '</a>