News:

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

Main Menu

Removing completely SMF 2.0 RC 3 Default theme logo

Started by Harry33, March 22, 2010, 06:16:38 AM

Previous topic - Next topic

Harry33

Please I want to remove completely Smf 2.0 RC3 default theme logo. Secondly, I want to replace the search box, with my google custom search. Thanks.

chilly

There is an option in theme-settings.
Also you can replace the images used or change the css file with the path info.

Language Coordinator

Harry33

No I don't need image or logo. What about replacing the search box with a google search?. I recently upgraded. Which code can about do these. Thanks

sAce

Quote from: Harry33 on March 22, 2010, 07:13:43 AM
No I don't need image or logo. What about replacing the search box with a google search?. I recently upgraded. Which code can about do these. Thanks

check this - http://soumik-ace.com/index.php?topic=1018.0

Mick.

I wrote one that places the results withiin SMF pages instead of leaving SMF for the results.

http://www.simplemachines.org/community/index.php?topic=367495.0

sAce

Quote from: BlueDevil on March 22, 2010, 08:50:42 AM
I wrote one that places the results withiin SMF pages instead of leaving SMF for the results.

http://www.simplemachines.org/community/index.php?topic=367495.0

i did to , just have to place the script in index.template, but i like this stand alone page thing

Harry33

Quote from: chilly on March 22, 2010, 06:27:20 AM
There is an option in theme-settings.
Also you can replace the images used or change the css file with the path info.
Can't locate that. Want to remove the default smf logo. Which code can about do that? thanks

Mick.

If you want to remove the SMF logo on the right with its shrinking button.....

Open:
/Themes/default/index.template.php

Find:
// the upshrink image, right-floated
echo '
<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="align_right">' . $settings['site_slogan'] . '</div>', '
</div>


and replace with:
echo'
</div>

Harry33


Mick.


Advertisement: