News:

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

Main Menu

Como eu coloco um link no lado esquerdo do logotipo

Started by tonnybarros, January 26, 2007, 11:03:16 AM

Previous topic - Next topic

tonnybarros

Veja o meu forum eu gostaria de colocar um link maneiro no lado do logotipo do lado esquerdo e embaixo.

Meu forum: http://forum.tectonny.com
O link que eu quero abrir: http://mail.tectonny.com

margarett

Pegando no teu outro tópico, e partindo do pincípio que usaste a minha dica:
Quote from: margarett on January 24, 2007, 11:04:25 AM
Então substituis por:

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32" align="center">';

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>
</tr>
</table>';



<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32" align="center">';

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'], '" /> <br /><a href="http://mail.tectonny.com">ACESSO AO E-MAIL TECTONNY AQUI!</a>';

echo '
</td>
</tr>
</table>';


Isto deve colocar-te o link por baixo do logo de forma simples. Link do lado esquerdo exige que modifiques um bocado o header, porque senão vai "empurrar-te" o logo para a direita...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

tonnybarros

Muito obrigado, vc foi perfeito. Agora eu gostaria de perguntar tem como colocar em uma letra mais destacada, como o vermelho.

margarett

[font color="red">ACESSO AO E-MAIL TECTONNY AQUI!</font>

A tag "font" está largamente em desuso, mas para mexer assim de repente, dá ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Advertisement: