What file do I edit?

Started by swashplate, November 13, 2010, 05:35:22 PM

Previous topic - Next topic

swashplate

I want to remove the Simple Machines Forum logo from the top of the forum.  What file can I edit to remove that?

See: www.gwfweb.com/pcrc [nofollow]

Paul_Pauline

Do you want to remove it completely, or replace the logo with your own ?
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

swashplate

I already have a logo there but that one sticks out.  Just want to remove it.

Paul_Pauline

In /Themes/default/index.template.php

Find 

 
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>


Replace with


<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
</tr> 
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

JimM

If Paul_Pauline's explanation doesn't do it take a look at this documentation.

How do I delete the Simple Machines logo on the default SMF theme?
Jim "JimM" Moore
Former Support Specialist

swashplate

Thanks!  That took care of it.  Had to adjust my logo width, and it looks more professional now.

Advertisement: