Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

How to do?

Aloittaja Surferbird, huhtikuu 10, 2006, 05:07:55 IP

« edellinen - seuraava »

Surferbird

When put own logo, using the right place and http in default theme setuo/config, how to remove SMF logo and the blue bar? Now the logo come there but overlapping the old blue and smf logo is still there. This not look very nice.
.:: Always something to ask - always grateful for assistance ::.

Deaks

have you got a screenshot?
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Surferbird

Like this here, and i would like the smf logo removed. Also my own logo bg and not the blue bar there?

.:: Always something to ask - always grateful for assistance ::.

Deaks

copy your index.template.php

and in the old one look for this

<body>';

echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<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>
</table>';


now to remove the blue look for

<td class="catbg" height="32">';

and replace with

<td>';

then look for

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


and delette
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Surferbird

Thanks, where should i put my own logo/banner, like here in this forum at top? Is the place in theme setup ok place?
.:: Always something to ask - always grateful for assistance ::.

Deaks

to be honest its your choice what ive said wont effect your banner much
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Surferbird

Thanks, your help was big to me, now all looks much better  :D
.:: Always something to ask - always grateful for assistance ::.

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Advertisement: