News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Remove SMF Logo

Started by CheeseHead05, June 13, 2013, 10:55:58 PM

Previous topic - Next topic

CheeseHead05

What other way can I manually remove the SMF logo? I went to the themes' image folder and deleted the file but the logo remains... :o


mashby

How about a URL to where this is happening? It will certainly be in the index.template.php file for whichever theme you are using.
Always be a little kinder than necessary.
- James M. Barrie

shadow82x

Additionally, it's never a good idea to just remove an image in your file system. If it's being used on your site it will display a big red X on most web browsers.
Colin B
Former Spammer, Customize, & Support Team Member

kat

Unless you replace the image with a blank, transparent one.

There's a mod to remove the logo, too, if you want to do that.

http://custom.simplemachines.org/mods/index.php?mod=2383

CheeseHead05

Quote from: mashby on June 13, 2013, 11:04:07 PM
How about a URL to where this is happening? It will certainly be in the index.template.php file for whichever theme you are using.

Mashby, what will I delete tho?

kat

Find this:


<img id="upshrink" src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />';
echo '
', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="floatright">' . $settings['site_slogan'] . '</div>', '


and replace it with this:


<img id="upshrink" src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />';
echo '
', !empty($settings['site_slogan']) ? '<div id="siteslogan" class="floatright">' . $settings['site_slogan'] . '</div>' : '', '


In index.css, which is in the theme's "css" directory, find this:

#siteslogan, img#smflogo
{
margin: 0;


and replace it with this:

#siteslogan
{
margin: 0;


That's what that mod, that I linked you to, does. ;)

CheeseHead05

K@,

and the first code is for the index.template correct?


CheeseHead05

K@,

Unforntunately, one of your codes caused a parse error, but dont worry, i fixed it...but your code doesnt work..

kat

Might've been good to tell us what the error was and how you fixed it, so that others might benefit... ;)

Chalky



Advertisement: